Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8fdab4763a04f503301b14810b39c536f2277120
Commit:     8fdab4763a04f503301b14810b39c536f2277120
Parent:     ac33d1febb790bd3a2a51cda1239a1482a3c767f
Author:     Robert Reif <[EMAIL PROTECTED]>
AuthorDate: Thu Mar 8 21:22:03 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Fri Mar 9 23:10:56 2007 -0800

    [CG14]: Fix section mismatch warnings.
    
    Fix section mismatch warning by moving data into __devinitdata section.
    Add __devinit to an initialization function.
    
    Signed-off-by: Robert Reif <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/video/cg14.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c
index ec6a51a..b071bb6 100644
--- a/drivers/video/cg14.c
+++ b/drivers/video/cg14.c
@@ -354,7 +354,8 @@ static int cg14_ioctl(struct fb_info *info, unsigned int 
cmd, unsigned long arg)
  *  Initialisation
  */
 
-static void cg14_init_fix(struct fb_info *info, int linebytes, struct 
device_node *dp)
+static void __devinit cg14_init_fix(struct fb_info *info, int linebytes,
+                                   struct device_node *dp)
 {
        const char *name = dp->name;
 
@@ -368,7 +369,7 @@ static void cg14_init_fix(struct fb_info *info, int 
linebytes, struct device_nod
        info->fix.accel = FB_ACCEL_SUN_CG14;
 }
 
-static struct sbus_mmap_map __cg14_mmap_map[CG14_MMAP_ENTRIES] __initdata = {
+static struct sbus_mmap_map __cg14_mmap_map[CG14_MMAP_ENTRIES] __devinitdata = 
{
        {
                .voff   = CG14_REGS,
                .poff   = 0x80000000,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to