diff options
| author | Ingo Molnar <mingo@kernel.org> | 2013-12-17 09:27:08 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2013-12-17 09:27:08 -0500 |
| commit | bb799d3b980eb803ca2da4a4eefbd9308f8d988a (patch) | |
| tree | 69fbe0cd6d47b23a50f5e1d87bf7489532fae149 /include/linux/device.h | |
| parent | 919fc6e34831d1c2b58bfb5ae261dc3facc9b269 (diff) | |
| parent | 319e2e3f63c348a9b66db4667efa73178e18b17d (diff) | |
Merge tag 'v3.13-rc4' into core/locking
Merge Linux 3.13-rc4, to refresh this rather old tree with the latest fixes.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index b025925df7f7..952b01033c32 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -644,9 +644,11 @@ struct device_dma_parameters { | |||
| 644 | unsigned long segment_boundary_mask; | 644 | unsigned long segment_boundary_mask; |
| 645 | }; | 645 | }; |
| 646 | 646 | ||
| 647 | struct acpi_device; | ||
| 648 | |||
| 647 | struct acpi_dev_node { | 649 | struct acpi_dev_node { |
| 648 | #ifdef CONFIG_ACPI | 650 | #ifdef CONFIG_ACPI |
| 649 | void *handle; | 651 | struct acpi_device *companion; |
| 650 | #endif | 652 | #endif |
| 651 | }; | 653 | }; |
| 652 | 654 | ||
| @@ -790,14 +792,6 @@ static inline struct device *kobj_to_dev(struct kobject *kobj) | |||
| 790 | return container_of(kobj, struct device, kobj); | 792 | return container_of(kobj, struct device, kobj); |
| 791 | } | 793 | } |
| 792 | 794 | ||
| 793 | #ifdef CONFIG_ACPI | ||
| 794 | #define ACPI_HANDLE(dev) ((dev)->acpi_node.handle) | ||
| 795 | #define ACPI_HANDLE_SET(dev, _handle_) (dev)->acpi_node.handle = (_handle_) | ||
| 796 | #else | ||
| 797 | #define ACPI_HANDLE(dev) (NULL) | ||
| 798 | #define ACPI_HANDLE_SET(dev, _handle_) do { } while (0) | ||
| 799 | #endif | ||
| 800 | |||
| 801 | /* Get the wakeup routines, which depend on struct device */ | 795 | /* Get the wakeup routines, which depend on struct device */ |
| 802 | #include <linux/pm_wakeup.h> | 796 | #include <linux/pm_wakeup.h> |
| 803 | 797 | ||
