diff options
| author | Felix Blyakher <felixb@sgi.com> | 2009-06-10 18:07:47 -0400 |
|---|---|---|
| committer | Felix Blyakher <felixb@sgi.com> | 2009-06-10 18:07:47 -0400 |
| commit | 4e73e0eb633f8a1b5cbf20e7f42c6dbfec1d1ca7 (patch) | |
| tree | 0cea46e43f0625244c3d06a71d6559e5ec5419ca /include/linux/device.h | |
| parent | 4156e735d3abde8e9243b5d22f7999dd3fffab2e (diff) | |
| parent | 07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 2918c0e8fdfd..5d5c197bad45 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -384,13 +384,8 @@ struct device { | |||
| 384 | struct device_driver *driver; /* which driver has allocated this | 384 | struct device_driver *driver; /* which driver has allocated this |
| 385 | device */ | 385 | device */ |
| 386 | void *driver_data; /* data private to the driver */ | 386 | void *driver_data; /* data private to the driver */ |
| 387 | 387 | void *platform_data; /* Platform specific data, device | |
| 388 | void *platform_data; /* We will remove platform_data | 388 | core doesn't touch it */ |
| 389 | field if all platform devices | ||
| 390 | pass its platform specific data | ||
| 391 | from platform_device->platform_data, | ||
| 392 | other kind of devices should not | ||
| 393 | use platform_data. */ | ||
| 394 | struct dev_pm_info power; | 389 | struct dev_pm_info power; |
| 395 | 390 | ||
| 396 | #ifdef CONFIG_NUMA | 391 | #ifdef CONFIG_NUMA |
| @@ -551,6 +546,7 @@ extern int (*platform_notify_remove)(struct device *dev); | |||
| 551 | extern struct device *get_device(struct device *dev); | 546 | extern struct device *get_device(struct device *dev); |
| 552 | extern void put_device(struct device *dev); | 547 | extern void put_device(struct device *dev); |
| 553 | 548 | ||
| 549 | extern void wait_for_device_probe(void); | ||
| 554 | 550 | ||
| 555 | /* drivers/base/power/shutdown.c */ | 551 | /* drivers/base/power/shutdown.c */ |
| 556 | extern void device_shutdown(void); | 552 | extern void device_shutdown(void); |
