diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-08-08 05:36:26 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-09-29 11:20:24 -0400 |
commit | 2e9b981a7c63ee8278df6823f8389d69dad1a499 (patch) | |
tree | 7d88e2a03a3202ba26ce7dbcf6909e28d44f690c /drivers/ata/pata_pcmcia.c | |
parent | 1cc745d1cdca8086b472a06671f0830fc0e98861 (diff) |
pcmcia: move driver name to struct pcmcia_driver
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/ata/pata_pcmcia.c')
-rw-r--r-- | drivers/ata/pata_pcmcia.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c index 88cb03c36963..806292160b3f 100644 --- a/drivers/ata/pata_pcmcia.c +++ b/drivers/ata/pata_pcmcia.c | |||
@@ -382,9 +382,7 @@ MODULE_DEVICE_TABLE(pcmcia, pcmcia_devices); | |||
382 | 382 | ||
383 | static struct pcmcia_driver pcmcia_driver = { | 383 | static struct pcmcia_driver pcmcia_driver = { |
384 | .owner = THIS_MODULE, | 384 | .owner = THIS_MODULE, |
385 | .drv = { | 385 | .name = DRV_NAME, |
386 | .name = DRV_NAME, | ||
387 | }, | ||
388 | .id_table = pcmcia_devices, | 386 | .id_table = pcmcia_devices, |
389 | .probe = pcmcia_init_one, | 387 | .probe = pcmcia_init_one, |
390 | .remove = pcmcia_remove_one, | 388 | .remove = pcmcia_remove_one, |