diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-03-19 04:47:30 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-03-19 04:47:30 -0400 |
commit | 0d4a42f6bd298e826620585e766a154ab460617a (patch) | |
tree | 406d8f7778691d858dbe3e48e4bbb10e99c0a58a /include/linux/device.h | |
parent | d62b4892f3d9f7dd2002e5309be10719d6805b0f (diff) | |
parent | a937536b868b8369b98967929045f1df54234323 (diff) |
Merge tag 'v3.9-rc3' into drm-intel-next-queued
Backmerge so that I can merge Imre Deak's coalesced sg entries fixes,
which depend upon the new for_each_sg_page introduce in
commit a321e91b6d73ed011ffceed384c40d2785cf723b
Author: Imre Deak <imre.deak@intel.com>
Date: Wed Feb 27 17:02:56 2013 -0800
lib/scatterlist: add simple page iterator
The merge itself is just two trivial conflicts:
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 43dcda937ddf..9d6464ea99c6 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/compiler.h> | 21 | #include <linux/compiler.h> |
22 | #include <linux/types.h> | 22 | #include <linux/types.h> |
23 | #include <linux/mutex.h> | 23 | #include <linux/mutex.h> |
24 | #include <linux/pinctrl/devinfo.h> | ||
24 | #include <linux/pm.h> | 25 | #include <linux/pm.h> |
25 | #include <linux/atomic.h> | 26 | #include <linux/atomic.h> |
26 | #include <linux/ratelimit.h> | 27 | #include <linux/ratelimit.h> |
@@ -395,8 +396,8 @@ extern int class_for_each_device(struct class *class, struct device *start, | |||
395 | void *data, | 396 | void *data, |
396 | int (*fn)(struct device *dev, void *data)); | 397 | int (*fn)(struct device *dev, void *data)); |
397 | extern struct device *class_find_device(struct class *class, | 398 | extern struct device *class_find_device(struct class *class, |
398 | struct device *start, void *data, | 399 | struct device *start, const void *data, |
399 | int (*match)(struct device *, void *)); | 400 | int (*match)(struct device *, const void *)); |
400 | 401 | ||
401 | struct class_attribute { | 402 | struct class_attribute { |
402 | struct attribute attr; | 403 | struct attribute attr; |
@@ -573,6 +574,7 @@ extern int devres_release_group(struct device *dev, void *id); | |||
573 | extern void *devm_kzalloc(struct device *dev, size_t size, gfp_t gfp); | 574 | extern void *devm_kzalloc(struct device *dev, size_t size, gfp_t gfp); |
574 | extern void devm_kfree(struct device *dev, void *p); | 575 | extern void devm_kfree(struct device *dev, void *p); |
575 | 576 | ||
577 | void __iomem *devm_ioremap_resource(struct device *dev, struct resource *res); | ||
576 | void __iomem *devm_request_and_ioremap(struct device *dev, | 578 | void __iomem *devm_request_and_ioremap(struct device *dev, |
577 | struct resource *res); | 579 | struct resource *res); |
578 | 580 | ||
@@ -620,6 +622,8 @@ struct acpi_dev_node { | |||
620 | * @pm_domain: Provide callbacks that are executed during system suspend, | 622 | * @pm_domain: Provide callbacks that are executed during system suspend, |
621 | * hibernation, system resume and during runtime PM transitions | 623 | * hibernation, system resume and during runtime PM transitions |
622 | * along with subsystem-level and driver-level callbacks. | 624 | * along with subsystem-level and driver-level callbacks. |
625 | * @pins: For device pin management. | ||
626 | * See Documentation/pinctrl.txt for details. | ||
623 | * @numa_node: NUMA node this device is close to. | 627 | * @numa_node: NUMA node this device is close to. |
624 | * @dma_mask: Dma mask (if dma'ble device). | 628 | * @dma_mask: Dma mask (if dma'ble device). |
625 | * @coherent_dma_mask: Like dma_mask, but for alloc_coherent mapping as not all | 629 | * @coherent_dma_mask: Like dma_mask, but for alloc_coherent mapping as not all |
@@ -672,6 +676,10 @@ struct device { | |||
672 | struct dev_pm_info power; | 676 | struct dev_pm_info power; |
673 | struct dev_pm_domain *pm_domain; | 677 | struct dev_pm_domain *pm_domain; |
674 | 678 | ||
679 | #ifdef CONFIG_PINCTRL | ||
680 | struct dev_pin_info *pins; | ||
681 | #endif | ||
682 | |||
675 | #ifdef CONFIG_NUMA | 683 | #ifdef CONFIG_NUMA |
676 | int numa_node; /* NUMA node this device is close to */ | 684 | int numa_node; /* NUMA node this device is close to */ |
677 | #endif | 685 | #endif |