diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 15:17:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 15:17:22 -0500 |
commit | ef8a3fd6e5e12e8989dae97ba5491c2e39369af9 (patch) | |
tree | f7833cd19e036141d26bd3f3732cd4de7752a161 /include/linux/device.h | |
parent | d1c3414c2a9d10ef7f0f7665f5d2947cd088c093 (diff) |
driver core: move the deferred probe pointer into the private area
Nothing outside of the driver core needs to get to the deferred probe
pointer, so move it inside the private area of 'struct device' so no one
tries to mess around with it.
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 22d6938ddbb4..f62e21689fdd 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -585,10 +585,6 @@ struct device_dma_parameters { | |||
585 | * @mutex: Mutex to synchronize calls to its driver. | 585 | * @mutex: Mutex to synchronize calls to its driver. |
586 | * @bus: Type of bus device is on. | 586 | * @bus: Type of bus device is on. |
587 | * @driver: Which driver has allocated this | 587 | * @driver: Which driver has allocated this |
588 | * @deferred_probe: entry in deferred_probe_list which is used to retry the | ||
589 | * binding of drivers which were unable to get all the resources | ||
590 | * needed by the device; typically because it depends on another | ||
591 | * driver getting probed first. | ||
592 | * @platform_data: Platform data specific to the device. | 588 | * @platform_data: Platform data specific to the device. |
593 | * Example: For devices on custom boards, as typical of embedded | 589 | * Example: For devices on custom boards, as typical of embedded |
594 | * and SOC based hardware, Linux often uses platform_data to point | 590 | * and SOC based hardware, Linux often uses platform_data to point |
@@ -648,7 +644,6 @@ struct device { | |||
648 | struct bus_type *bus; /* type of bus device is on */ | 644 | struct bus_type *bus; /* type of bus device is on */ |
649 | struct device_driver *driver; /* which driver has allocated this | 645 | struct device_driver *driver; /* which driver has allocated this |
650 | device */ | 646 | device */ |
651 | struct list_head deferred_probe; | ||
652 | void *platform_data; /* Platform specific data, device | 647 | void *platform_data; /* Platform specific data, device |
653 | core doesn't touch it */ | 648 | core doesn't touch it */ |
654 | struct dev_pm_info power; | 649 | struct dev_pm_info power; |