Commit f28f15e6 authored by Thomas Zimmermann's avatar Thomas Zimmermann
Browse files

drm/ast: Move struct ast_dramstruct to ast_post.h



Declare struct ast_dramstruct in ast_post.h and remove its original
header file.

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarJocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250706162816.211552-7-tzimmermann@suse.de
parent 1be08550
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,8 +28,8 @@

#include <linux/delay.h>

#include "ast_dram_tables.h"
#include "ast_drv.h"
#include "ast_post.h"

/*
 * POST
+1 −1
Original line number Diff line number Diff line
@@ -28,8 +28,8 @@

#include <linux/delay.h>

#include "ast_dram_tables.h"
#include "ast_drv.h"
#include "ast_post.h"

/*
 * POST
+0 −11
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef AST_DRAM_TABLES_H
#define AST_DRAM_TABLES_H

/* DRAM timing tables */
struct ast_dramstruct {
	u16 index;
	u32 data;
};

#endif
+6 −0
Original line number Diff line number Diff line
@@ -7,6 +7,12 @@

struct ast_device;

/* DRAM timing tables */
struct ast_dramstruct {
	u16 index;
	u32 data;
};

u32 __ast_mindwm(void __iomem *regs, u32 r);
void __ast_moutdwm(void __iomem *regs, u32 r, u32 v);