]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/ast: Move struct ast_dramstruct to ast_post.h
authorThomas Zimmermann <tzimmermann@suse.de>
Sun, 6 Jul 2025 16:26:41 +0000 (18:26 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 9 Jul 2025 12:36:20 +0000 (14:36 +0200)
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
drivers/gpu/drm/ast/ast_2000.c
drivers/gpu/drm/ast/ast_2100.c
drivers/gpu/drm/ast/ast_dram_tables.h [deleted file]
drivers/gpu/drm/ast/ast_post.h

index 099c90e1402f5ededeeb891c54f911b84c816308..b2ad2ea5056b28dcb72782e076de75507ff4736f 100644 (file)
@@ -28,8 +28,8 @@
 
 #include <linux/delay.h>
 
-#include "ast_dram_tables.h"
 #include "ast_drv.h"
+#include "ast_post.h"
 
 /*
  * POST
index f41c778e02da3eb35c3ab6b4d5732dbd37a1fe26..ee40f3911ca4fe03ba132234bd4580c3652e0065 100644 (file)
@@ -28,8 +28,8 @@
 
 #include <linux/delay.h>
 
-#include "ast_dram_tables.h"
 #include "ast_drv.h"
+#include "ast_post.h"
 
 /*
  * POST
diff --git a/drivers/gpu/drm/ast/ast_dram_tables.h b/drivers/gpu/drm/ast/ast_dram_tables.h
deleted file mode 100644 (file)
index 6c191e2..0000000
+++ /dev/null
@@ -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
index 314fa0475c799ba9dce027fb20fcfddbd53c2c03..3a55c32a7eb751b570b78c39ba34544c8182b4d2 100644 (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);