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 /sound | |
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 'sound')
-rw-r--r-- | sound/pcmcia/pdaudiocf/pdaudiocf.c | 4 | ||||
-rw-r--r-- | sound/pcmcia/vx/vxpocket.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c index 2476d5f0a14f..8cc4733698a0 100644 --- a/sound/pcmcia/pdaudiocf/pdaudiocf.c +++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c | |||
@@ -287,9 +287,7 @@ MODULE_DEVICE_TABLE(pcmcia, snd_pdacf_ids); | |||
287 | 287 | ||
288 | static struct pcmcia_driver pdacf_cs_driver = { | 288 | static struct pcmcia_driver pdacf_cs_driver = { |
289 | .owner = THIS_MODULE, | 289 | .owner = THIS_MODULE, |
290 | .drv = { | 290 | .name = "snd-pdaudiocf", |
291 | .name = "snd-pdaudiocf", | ||
292 | }, | ||
293 | .probe = snd_pdacf_probe, | 291 | .probe = snd_pdacf_probe, |
294 | .remove = snd_pdacf_detach, | 292 | .remove = snd_pdacf_detach, |
295 | .id_table = snd_pdacf_ids, | 293 | .id_table = snd_pdacf_ids, |
diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c index 017a8d6c510d..80000d631f88 100644 --- a/sound/pcmcia/vx/vxpocket.c +++ b/sound/pcmcia/vx/vxpocket.c | |||
@@ -358,9 +358,7 @@ MODULE_DEVICE_TABLE(pcmcia, vxp_ids); | |||
358 | 358 | ||
359 | static struct pcmcia_driver vxp_cs_driver = { | 359 | static struct pcmcia_driver vxp_cs_driver = { |
360 | .owner = THIS_MODULE, | 360 | .owner = THIS_MODULE, |
361 | .drv = { | 361 | .name = "snd-vxpocket", |
362 | .name = "snd-vxpocket", | ||
363 | }, | ||
364 | .probe = vxpocket_probe, | 362 | .probe = vxpocket_probe, |
365 | .remove = vxpocket_detach, | 363 | .remove = vxpocket_detach, |
366 | .id_table = vxp_ids, | 364 | .id_table = vxp_ids, |