diff options
author | Randy Dunlap <rddunlap@osdl.org> | 2005-03-30 16:43:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-30 16:43:22 -0800 |
commit | 5928eafeaf2ac96b0ab3db0461a6199b30b444e2 (patch) | |
tree | 694de0ce0852c0f8c55f3d478d1406ed31c0e796 | |
parent | 46563c7ae61c27154ee8557176669a75b21179a4 (diff) | |
download | history-5928eafeaf2ac96b0ab3db0461a6199b30b444e2.tar.gz |
[PATCH] nvidiafb: fix section references
Fix section usage in nvidiafb driver.
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/video/nvidia/nvidia.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c index 05ea3a31be9a5a..9f5c0179004e07 100644 --- a/drivers/video/nvidia/nvidia.c +++ b/drivers/video/nvidia/nvidia.c @@ -402,25 +402,25 @@ static struct pci_device_id nvidiafb_pci_tbl[] = { MODULE_DEVICE_TABLE(pci, nvidiafb_pci_tbl); /* command line data, set in nvidiafb_setup() */ -static int flatpanel __initdata = -1; /* Autodetect later */ -static int forceCRTC __initdata = -1; -static int hwcur __initdata = 0; -static int noaccel __initdata = 0; -static int noscale __initdata = 0; -static int paneltweak __initdata = 0; +static int flatpanel __devinitdata = -1; /* Autodetect later */ +static int forceCRTC __devinitdata = -1; +static int hwcur __devinitdata = 0; +static int noaccel __devinitdata = 0; +static int noscale __devinitdata = 0; +static int paneltweak __devinitdata = 0; #ifdef CONFIG_MTRR -static int nomtrr __initdata = 0; +static int nomtrr __devinitdata = 0; #endif -static char *mode_option __initdata = NULL; +static char *mode_option __devinitdata = NULL; -static struct fb_fix_screeninfo __initdata nvidiafb_fix = { +static struct fb_fix_screeninfo __devinitdata nvidiafb_fix = { .type = FB_TYPE_PACKED_PIXELS, .xpanstep = 8, .ypanstep = 1, }; -static struct fb_var_screeninfo __initdata nvidiafb_default_var = { +static struct fb_var_screeninfo __devinitdata nvidiafb_default_var = { .xres = 640, .yres = 480, .xres_virtual = 640, @@ -1615,7 +1615,7 @@ static void __exit nvidiafb_remove(struct pci_dev *pd) * ------------------------------------------------------------------------- */ #ifndef MODULE -static int __init nvidiafb_setup(char *options) +static int __devinit nvidiafb_setup(char *options) { char *this_opt; |