Commit 0aa492be authored by Damian Hobson-Garcia's avatar Damian Hobson-Garcia Committed by Laurent Pinchart

fbdev: sh_mobile_meram: Move private data from .h to .c

There is no reason for sh_mobile_meram_priv to be in the .h file
since it should be private to sh_mobile_meram.c
Signed-off-by: default avatarDamian Hobson-Garcia <dhobsong@igel.co.jp>
parent ec19b9e0
...@@ -37,6 +37,14 @@ ...@@ -37,6 +37,14 @@
#define MEQSEL1 0x40 #define MEQSEL1 0x40
#define MEQSEL2 0x44 #define MEQSEL2 0x44
struct sh_mobile_meram_priv {
void __iomem *base;
struct mutex lock;
unsigned long used_icb;
int used_meram_cache_regions;
unsigned long used_meram_cache[SH_MOBILE_MERAM_ICB_NUM];
};
/* settings */ /* settings */
#define MERAM_SEC_LINE 15 #define MERAM_SEC_LINE 15
#define MERAM_LINE_WIDTH 2048 #define MERAM_LINE_WIDTH 2048
......
...@@ -17,14 +17,6 @@ ...@@ -17,14 +17,6 @@
#define SH_MOBILE_MERAM_CACHE_OFFSET(p) ((p) >> 16) #define SH_MOBILE_MERAM_CACHE_OFFSET(p) ((p) >> 16)
#define SH_MOBILE_MERAM_CACHE_SIZE(p) ((p) & 0xffff) #define SH_MOBILE_MERAM_CACHE_SIZE(p) ((p) & 0xffff)
struct sh_mobile_meram_priv {
void __iomem *base;
struct mutex lock;
unsigned long used_icb;
int used_meram_cache_regions;
unsigned long used_meram_cache[SH_MOBILE_MERAM_ICB_NUM];
};
int sh_mobile_meram_alloc_icb(const struct sh_mobile_meram_cfg *cfg, int sh_mobile_meram_alloc_icb(const struct sh_mobile_meram_cfg *cfg,
int xres, int xres,
int yres, int yres,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment