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>
This commit is contained in:
Greg Kroah-Hartman
2006-09-12 17:00:10 +02:00
parent 31b9025aa0
commit 873733188a
14 changed files with 127 additions and 105 deletions

View File

@@ -284,7 +284,7 @@ struct pcmcia_socket {
#endif
/* socket device */
struct class_device dev;
struct device dev;
void *driver_data; /* data internal to the socket driver */
};