diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-08-17 02:57:56 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-08-17 03:01:08 -0400 |
| commit | a22ddff8bedfe33eeb1330bbb7ef1fbe007a42c4 (patch) | |
| tree | 61a2eb7fa62f5af10c2b913ca429e6b068b0eb2d /include/linux/device.h | |
| parent | 20d5a540e55a29daeef12706f9ee73baf5641c16 (diff) | |
| parent | d9875690d9b89a866022ff49e3fcea892345ad92 (diff) | |
Merge tag 'v3.6-rc2' into drm-intel-next
Backmerge Linux 3.6-rc2 to resolve a few funny conflicts before we put
even more madness on top:
- drivers/gpu/drm/i915/i915_irq.c: Just a spurious WARN removed in
-fixes, that has been changed in a variable-rename in -next, too.
- drivers/gpu/drm/i915/intel_ringbuffer.c: -next remove scratch_addr
(since all their users have been extracted in another fucntion),
-fixes added another user for a hw workaroudn.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 161d96241b1b..52a5f15a2223 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -36,6 +36,7 @@ struct subsys_private; | |||
| 36 | struct bus_type; | 36 | struct bus_type; |
| 37 | struct device_node; | 37 | struct device_node; |
| 38 | struct iommu_ops; | 38 | struct iommu_ops; |
| 39 | struct iommu_group; | ||
| 39 | 40 | ||
| 40 | struct bus_attribute { | 41 | struct bus_attribute { |
| 41 | struct attribute attr; | 42 | struct attribute attr; |
| @@ -687,8 +688,14 @@ struct device { | |||
| 687 | const struct attribute_group **groups; /* optional groups */ | 688 | const struct attribute_group **groups; /* optional groups */ |
| 688 | 689 | ||
| 689 | void (*release)(struct device *dev); | 690 | void (*release)(struct device *dev); |
| 691 | struct iommu_group *iommu_group; | ||
| 690 | }; | 692 | }; |
| 691 | 693 | ||
| 694 | static inline struct device *kobj_to_dev(struct kobject *kobj) | ||
| 695 | { | ||
| 696 | return container_of(kobj, struct device, kobj); | ||
| 697 | } | ||
| 698 | |||
| 692 | /* Get the wakeup routines, which depend on struct device */ | 699 | /* Get the wakeup routines, which depend on struct device */ |
| 693 | #include <linux/pm_wakeup.h> | 700 | #include <linux/pm_wakeup.h> |
| 694 | 701 | ||
| @@ -865,8 +872,6 @@ extern int (*platform_notify_remove)(struct device *dev); | |||
| 865 | extern struct device *get_device(struct device *dev); | 872 | extern struct device *get_device(struct device *dev); |
| 866 | extern void put_device(struct device *dev); | 873 | extern void put_device(struct device *dev); |
| 867 | 874 | ||
| 868 | extern void wait_for_device_probe(void); | ||
| 869 | |||
| 870 | #ifdef CONFIG_DEVTMPFS | 875 | #ifdef CONFIG_DEVTMPFS |
| 871 | extern int devtmpfs_create_node(struct device *dev); | 876 | extern int devtmpfs_create_node(struct device *dev); |
| 872 | extern int devtmpfs_delete_node(struct device *dev); | 877 | extern int devtmpfs_delete_node(struct device *dev); |
