Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+8 -13
+1 -1
drivers/gpu/drm/ast/ast_2000.c
··· 28 28 29 29 #include <linux/delay.h> 30 30 31 - #include "ast_dram_tables.h" 32 31 #include "ast_drv.h" 32 + #include "ast_post.h" 33 33 34 34 /* 35 35 * POST
+1 -1
drivers/gpu/drm/ast/ast_2100.c
··· 28 28 29 29 #include <linux/delay.h> 30 30 31 - #include "ast_dram_tables.h" 32 31 #include "ast_drv.h" 32 + #include "ast_post.h" 33 33 34 34 /* 35 35 * POST
-11
drivers/gpu/drm/ast/ast_dram_tables.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef AST_DRAM_TABLES_H 3 - #define AST_DRAM_TABLES_H 4 - 5 - /* DRAM timing tables */ 6 - struct ast_dramstruct { 7 - u16 index; 8 - u32 data; 9 - }; 10 - 11 - #endif
+6
drivers/gpu/drm/ast/ast_post.h
··· 7 7 8 8 struct ast_device; 9 9 10 + /* DRAM timing tables */ 11 + struct ast_dramstruct { 12 + u16 index; 13 + u32 data; 14 + }; 15 + 10 16 u32 __ast_mindwm(void __iomem *regs, u32 r); 11 17 void __ast_moutdwm(void __iomem *regs, u32 r, u32 v); 12 18