Skip to content

Commit

Permalink
fbdev: sh_mobile_meram: Move private data from .h to .c
Browse files Browse the repository at this point in the history
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: Damian Hobson-Garcia <dhobsong@igel.co.jp>
  • Loading branch information
Damian Hobson-Garcia authored and Laurent Pinchart committed Aug 19, 2011
1 parent ec19b9e commit 0aa492b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions drivers/video/sh_mobile_meram.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@
#define MEQSEL1 0x40
#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 */
#define MERAM_SEC_LINE 15
#define MERAM_LINE_WIDTH 2048
Expand Down
8 changes: 0 additions & 8 deletions drivers/video/sh_mobile_meram.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
#define SH_MOBILE_MERAM_CACHE_OFFSET(p) ((p) >> 16)
#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 xres,
int yres,
Expand Down

0 comments on commit 0aa492b

Please sign in to comment.