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>
This commit is contained in:
@@ -1381,19 +1381,18 @@ hfcsx_card_msg(struct IsdnCardState *cs, int mt, void *arg)
|
||||
}
|
||||
|
||||
#ifdef __ISAPNP__
|
||||
static struct isapnp_device_id hfc_ids[] __devinitdata = {
|
||||
static struct isapnp_device_id hfc_ids[] = {
|
||||
{ ISAPNP_VENDOR('T', 'A', 'G'), ISAPNP_FUNCTION(0x2620),
|
||||
ISAPNP_VENDOR('T', 'A', 'G'), ISAPNP_FUNCTION(0x2620),
|
||||
(unsigned long) "Teles 16.3c2" },
|
||||
{ 0, }
|
||||
};
|
||||
|
||||
static struct isapnp_device_id *ipid __devinitdata = &hfc_ids[0];
|
||||
static struct pnp_card *pnp_c __devinitdata = NULL;
|
||||
static struct isapnp_device_id *ipid = &hfc_ids[0];
|
||||
static struct pnp_card *pnp_c = NULL;
|
||||
#endif
|
||||
|
||||
int __devinit
|
||||
setup_hfcsx(struct IsdnCard *card)
|
||||
int setup_hfcsx(struct IsdnCard *card)
|
||||
{
|
||||
struct IsdnCardState *cs = card->cs;
|
||||
char tmp[64];
|
||||
|
Viittaa uudesa ongelmassa
Block a user