diff options
author | Ming Lei <tom.leiming@gmail.com> | 2009-03-13 23:06:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 16:38:26 -0700 |
commit | ce21c7bcd796fc4f45d48781b7e85f493cc55ee5 (patch) | |
tree | 7b2152db4af5f8ca42180166ef336596d52f8dc0 /include/linux/device.h | |
parent | 006f4571a15fae3a0575f2a0f9e9b63b3d1012f8 (diff) | |
download | talos-obmc-linux-ce21c7bcd796fc4f45d48781b7e85f493cc55ee5.tar.gz talos-obmc-linux-ce21c7bcd796fc4f45d48781b7e85f493cc55ee5.zip |
driver core: fix passing platform_data
We will remove platform_data field from struct device until
all platform devices pass its specific data from platfom_device
and all platform drivers use platform specific data passed by
platform_device->platform_data. This kind of conversion will
need a long time, for thousands of files is affected.
To make the conversion easily, we allow platform specific data
passed by struct device or struct platform_device and platform
driver may use it from struct device or struct platform_device.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions