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/ps3fb.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/ps3fb.c')
-rw-r--r-- | drivers/video/ps3fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index 0b340d6ff8a4..920c27bf3947 100644 --- a/drivers/video/ps3fb.c +++ b/drivers/video/ps3fb.c | |||
@@ -259,7 +259,7 @@ static const struct fb_videomode ps3fb_modedb[] = { | |||
259 | static int ps3fb_mode; | 259 | static int ps3fb_mode; |
260 | module_param(ps3fb_mode, int, 0); | 260 | module_param(ps3fb_mode, int, 0); |
261 | 261 | ||
262 | static char *mode_option __devinitdata; | 262 | static char *mode_option; |
263 | 263 | ||
264 | static int ps3fb_cmp_mode(const struct fb_videomode *vmode, | 264 | static int ps3fb_cmp_mode(const struct fb_videomode *vmode, |
265 | const struct fb_var_screeninfo *var) | 265 | const struct fb_var_screeninfo *var) |
@@ -965,7 +965,7 @@ static struct fb_fix_screeninfo ps3fb_fix __initdata = { | |||
965 | .accel = FB_ACCEL_NONE, | 965 | .accel = FB_ACCEL_NONE, |
966 | }; | 966 | }; |
967 | 967 | ||
968 | static int __devinit ps3fb_probe(struct ps3_system_bus_device *dev) | 968 | static int ps3fb_probe(struct ps3_system_bus_device *dev) |
969 | { | 969 | { |
970 | struct fb_info *info; | 970 | struct fb_info *info; |
971 | struct ps3fb_par *par; | 971 | struct ps3fb_par *par; |