]> git.karo-electronics.de Git - linux-beck.git/commitdiff
fbdev: sh_mobile_meram: Move private data from .h to .c
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Wed, 22 Jun 2011 05:49:50 +0000 (07:49 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 06:11:16 +0000 (08:11 +0200)
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>
drivers/video/sh_mobile_meram.c
drivers/video/sh_mobile_meram.h

index 34efd8a29f59eca44c7afd5760946210c838ed83..cfa1a78328aa9297ce4d1c5766da95246ac45440 100644 (file)
 #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
index 82c54fbce8bdad2cb9cbe07d9840fc1412beeea4..1615204b14de0a27c3ebb5e64cc8be037a9e1912 100644 (file)
 #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,