Skip to content

Commit f28f15e

Browse files
author
Thomas Zimmermann
committed
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 <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1be0855 commit f28f15e

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

drivers/gpu/drm/ast/ast_2000.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
#include <linux/delay.h>
3030

31-
#include "ast_dram_tables.h"
3231
#include "ast_drv.h"
32+
#include "ast_post.h"
3333

3434
/*
3535
* POST

drivers/gpu/drm/ast/ast_2100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
#include <linux/delay.h>
3030

31-
#include "ast_dram_tables.h"
3231
#include "ast_drv.h"
32+
#include "ast_post.h"
3333

3434
/*
3535
* POST

drivers/gpu/drm/ast/ast_dram_tables.h

Lines changed: 0 additions & 11 deletions
This file was deleted.

drivers/gpu/drm/ast/ast_post.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77

88
struct ast_device;
99

10+
/* DRAM timing tables */
11+
struct ast_dramstruct {
12+
u16 index;
13+
u32 data;
14+
};
15+
1016
u32 __ast_mindwm(void __iomem *regs, u32 r);
1117
void __ast_moutdwm(void __iomem *regs, u32 r, u32 v);
1218

0 commit comments

Comments
 (0)