Drivers: isdn: 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, 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> Cc: Karsten Keil <isdn@linux-pingi.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Šī revīzija ir iekļauta:
@@ -24,11 +24,11 @@
|
||||
#define DBUSY_TIMER_VALUE 80
|
||||
#define ARCOFI_USE 1
|
||||
|
||||
static char *ISACVer[] __devinitdata =
|
||||
static char *ISACVer[] =
|
||||
{"2086/2186 V1.1", "2085 B1", "2085 B2",
|
||||
"2085 V2.3"};
|
||||
|
||||
void __devinit ISACVersion(struct IsdnCardState *cs, char *s)
|
||||
void ISACVersion(struct IsdnCardState *cs, char *s)
|
||||
{
|
||||
int val;
|
||||
|
||||
@@ -669,8 +669,7 @@ void clear_pending_isac_ints(struct IsdnCardState *cs)
|
||||
cs->writeisac(cs, ISAC_MASK, 0xFF);
|
||||
}
|
||||
|
||||
void __devinit
|
||||
setup_isac(struct IsdnCardState *cs)
|
||||
void setup_isac(struct IsdnCardState *cs)
|
||||
{
|
||||
INIT_WORK(&cs->tqueue, isac_bh);
|
||||
cs->dbusytimer.function = (void *) dbusy_timer_handler;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user