diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2007-02-14 01:39:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-16 18:19:18 -0500 |
commit | e4a3c3f095ecc760fc557ca87e518e2e553fab4b (patch) | |
tree | 5130e67db3849f3a10a936734ce75da7a82f3bca /drivers/pcmcia/at91_cf.c | |
parent | 4aca67e5f54bf6ee439b5bdbc77007a547ad5b43 (diff) |
pcmcia: some class_device fallout
As found on some arm defconfigs.
I only looked at how original patch changes things and other patches fix
compilation. ;-)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pcmcia/at91_cf.c')
-rw-r--r-- | drivers/pcmcia/at91_cf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c index b31862837534..99baabc23599 100644 --- a/drivers/pcmcia/at91_cf.c +++ b/drivers/pcmcia/at91_cf.c | |||
@@ -277,7 +277,7 @@ static int __init at91_cf_probe(struct platform_device *pdev) | |||
277 | board->det_pin, board->irq_pin); | 277 | board->det_pin, board->irq_pin); |
278 | 278 | ||
279 | cf->socket.owner = THIS_MODULE; | 279 | cf->socket.owner = THIS_MODULE; |
280 | cf->socket.dev.dev = &pdev->dev; | 280 | cf->socket.dev.parent = &pdev->dev; |
281 | cf->socket.ops = &at91_cf_ops; | 281 | cf->socket.ops = &at91_cf_ops; |
282 | cf->socket.resource_ops = &pccard_static_ops; | 282 | cf->socket.resource_ops = &pccard_static_ops; |
283 | cf->socket.features = SS_CAP_PCCARD | SS_CAP_STATIC_MAP | 283 | cf->socket.features = SS_CAP_PCCARD | SS_CAP_STATIC_MAP |