mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
31b9025aa0
commit
873733188a
14 changed files with 127 additions and 105 deletions
|
|
@ -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 */
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue