summaryrefslogtreecommitdiff
path: root/gentree.py
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-04-13 07:13:40 -0700
committerJohannes Berg <johannes.berg@intel.com>2013-04-13 22:57:51 +0200
commit11f658873a4bdd60dcf658926283b8fa36151fde (patch)
treefeefc81121604ab7c261ba5f4d066e3601f60415 /gentree.py
parent720c3c1448f519caa7aeedcc3a6956ce39c6a9bf (diff)
compat: backport IORESOURCE_REG definition
This was added to help regmap drivers avoid having to use some non memory mapped equivalent, IORESOURCE_IO, to help avoid confusion. This is simply carried over. mcgrof@frijol ~/linux-stable (git::master)$ git describe --contains 72dcb119 v3.7-rc1~112^2~84 commit 72dcb1197228b50bfb709ba97c2d53013c605868 Author: Mark Brown <broonie@opensource.wolfsonmicro.com> Date: Tue Aug 7 19:42:45 2012 +0100 resources: Add register address resource type Currently a bunch of I2C/SPI MFD drivers are using IORESOURCE_IO for register address ranges. Since this causes some confusion due to the primary use of this resource type for PCI/ISA I/O ports create a new resource type IORESOURCE_REG. Unfortunately the current resource types are specified as bitmasks and there are no free bitmasks even though they really shouldn't be used as such so we define the new type as IORESOURCE_IO | IORESOURCE_MEM. Benjamin Herrenschmidt and Russell King have both verified that none of the users in this series will have a problem with this, and no new code should be affected. This patch was written by Russell King but he found himself unable to take the patch further. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Tested-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'gentree.py')
0 files changed, 0 insertions, 0 deletions