diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:07:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 48c68c4f1b542444f175a9e136febcecf3e704d8 (patch) | |
tree | d28f4f3b42643990c2908d27e9caf120f6234b73 /drivers/video/efifb.c | |
parent | 8590dbc79a0ff5d7ab16b2b1743684c241ae3c65 (diff) |
Drivers: video: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/efifb.c')
-rw-r--r-- | drivers/video/efifb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 932abaa58a89..50fe668c6172 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c | |||
@@ -20,7 +20,7 @@ static bool request_mem_succeeded = false; | |||
20 | 20 | ||
21 | static struct pci_dev *default_vga; | 21 | static struct pci_dev *default_vga; |
22 | 22 | ||
23 | static struct fb_var_screeninfo efifb_defined __devinitdata = { | 23 | static struct fb_var_screeninfo efifb_defined = { |
24 | .activate = FB_ACTIVATE_NOW, | 24 | .activate = FB_ACTIVATE_NOW, |
25 | .height = -1, | 25 | .height = -1, |
26 | .width = -1, | 26 | .width = -1, |
@@ -31,7 +31,7 @@ static struct fb_var_screeninfo efifb_defined __devinitdata = { | |||
31 | .vmode = FB_VMODE_NONINTERLACED, | 31 | .vmode = FB_VMODE_NONINTERLACED, |
32 | }; | 32 | }; |
33 | 33 | ||
34 | static struct fb_fix_screeninfo efifb_fix __devinitdata = { | 34 | static struct fb_fix_screeninfo efifb_fix = { |
35 | .id = "EFI VGA", | 35 | .id = "EFI VGA", |
36 | .type = FB_TYPE_PACKED_PIXELS, | 36 | .type = FB_TYPE_PACKED_PIXELS, |
37 | .accel = FB_ACCEL_NONE, | 37 | .accel = FB_ACCEL_NONE, |