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: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Greg Kroah-Hartman 2006-09-12 17:00:10 +02:00
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 */
};