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:
@@ -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 */
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user