1
0

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: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250706162816.211552-7-tzimmermann@suse.de
This commit is contained in:
Thomas Zimmermann
2025-07-06 18:26:41 +02:00
parent 1be08550e6
commit f28f15e6d0
4 changed files with 8 additions and 13 deletions

View File

@@ -28,8 +28,8 @@
#include <linux/delay.h>
#include "ast_dram_tables.h"
#include "ast_drv.h"
#include "ast_post.h"
/*
* POST

View File

@@ -28,8 +28,8 @@
#include <linux/delay.h>
#include "ast_dram_tables.h"
#include "ast_drv.h"
#include "ast_post.h"
/*
* POST

View File

@@ -1,11 +0,0 @@
/* 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

View File

@@ -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);