diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-12 11:00:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 13:37:11 -0500 |
commit | 873733188a019acdb7fa253011cbdc0a8afd97f3 (patch) | |
tree | 99828bd5db2f183e1b2d2204dc2c94bd1f8fdbbb /drivers/pcmcia/pcmcia_resource.c | |
parent | 31b9025aa0f89b392077db3f87458fd46bcc4f58 (diff) |
Driver core: convert pcmcia code to use struct device
Converts from using struct "class_device" to "struct device" making
everything show up properly in /sys/devices/ with symlinks from the
/sys/class directory.
Cc: <linux-pcmcia@lists.infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pcmcia/pcmcia_resource.c')
-rw-r--r-- | drivers/pcmcia/pcmcia_resource.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pcmcia/pcmcia_resource.c b/drivers/pcmcia/pcmcia_resource.c index b9201c2ec38b..0ce39de834c4 100644 --- a/drivers/pcmcia/pcmcia_resource.c +++ b/drivers/pcmcia/pcmcia_resource.c | |||
@@ -48,7 +48,6 @@ static u8 pcmcia_used_irq[NR_IRQS]; | |||
48 | 48 | ||
49 | #ifdef DEBUG | 49 | #ifdef DEBUG |
50 | extern int ds_pc_debug; | 50 | extern int ds_pc_debug; |
51 | #define cs_socket_name(skt) ((skt)->dev.class_id) | ||
52 | 51 | ||
53 | #define ds_dbg(skt, lvl, fmt, arg...) do { \ | 52 | #define ds_dbg(skt, lvl, fmt, arg...) do { \ |
54 | if (ds_pc_debug >= lvl) \ | 53 | if (ds_pc_debug >= lvl) \ |