|
@@ -45,7 +45,7 @@ struct pmagbbfb_par {
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
-static struct fb_var_screeninfo pmagbbfb_defined __initdata = {
|
|
|
|
|
|
+static struct fb_var_screeninfo pmagbbfb_defined __devinitdata = {
|
|
.bits_per_pixel = 8,
|
|
.bits_per_pixel = 8,
|
|
.red.length = 8,
|
|
.red.length = 8,
|
|
.green.length = 8,
|
|
.green.length = 8,
|
|
@@ -58,7 +58,7 @@ static struct fb_var_screeninfo pmagbbfb_defined __initdata = {
|
|
.vmode = FB_VMODE_NONINTERLACED,
|
|
.vmode = FB_VMODE_NONINTERLACED,
|
|
};
|
|
};
|
|
|
|
|
|
-static struct fb_fix_screeninfo pmagbbfb_fix __initdata = {
|
|
|
|
|
|
+static struct fb_fix_screeninfo pmagbbfb_fix __devinitdata = {
|
|
.id = "PMAGB-BA",
|
|
.id = "PMAGB-BA",
|
|
.smem_len = (2048 * 1024),
|
|
.smem_len = (2048 * 1024),
|
|
.type = FB_TYPE_PACKED_PIXELS,
|
|
.type = FB_TYPE_PACKED_PIXELS,
|
|
@@ -148,7 +148,7 @@ static void __init pmagbbfb_erase_cursor(struct fb_info *info)
|
|
/*
|
|
/*
|
|
* Set up screen parameters.
|
|
* Set up screen parameters.
|
|
*/
|
|
*/
|
|
-static void __init pmagbbfb_screen_setup(struct fb_info *info)
|
|
|
|
|
|
+static void __devinit pmagbbfb_screen_setup(struct fb_info *info)
|
|
{
|
|
{
|
|
struct pmagbbfb_par *par = info->par;
|
|
struct pmagbbfb_par *par = info->par;
|
|
|
|
|
|
@@ -180,9 +180,9 @@ static void __init pmagbbfb_screen_setup(struct fb_info *info)
|
|
/*
|
|
/*
|
|
* Determine oscillator configuration.
|
|
* Determine oscillator configuration.
|
|
*/
|
|
*/
|
|
-static void __init pmagbbfb_osc_setup(struct fb_info *info)
|
|
|
|
|
|
+static void __devinit pmagbbfb_osc_setup(struct fb_info *info)
|
|
{
|
|
{
|
|
- static unsigned int pmagbbfb_freqs[] __initdata = {
|
|
|
|
|
|
+ static unsigned int pmagbbfb_freqs[] __devinitdata = {
|
|
130808, 119843, 104000, 92980, 74370, 72800,
|
|
130808, 119843, 104000, 92980, 74370, 72800,
|
|
69197, 66000, 65000, 50350, 36000, 32000, 25175
|
|
69197, 66000, 65000, 50350, 36000, 32000, 25175
|
|
};
|
|
};
|
|
@@ -247,7 +247,7 @@ static void __init pmagbbfb_osc_setup(struct fb_info *info)
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
-static int __init pmagbbfb_probe(struct device *dev)
|
|
|
|
|
|
+static int __devinit pmagbbfb_probe(struct device *dev)
|
|
{
|
|
{
|
|
struct tc_dev *tdev = to_tc_dev(dev);
|
|
struct tc_dev *tdev = to_tc_dev(dev);
|
|
resource_size_t start, len;
|
|
resource_size_t start, len;
|