diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-03-20 21:59:24 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-03-20 21:59:24 +0000 |
commit | 0efdcebf5d8d4ae7adbe3fb289df003c892025e5 (patch) | |
tree | 9292881f1a034c903f9a74125678c4fea5a192e3 /target/linux/generic/patches-3.9 | |
parent | af64f497a3a9e74d616f3d29a038dffd3f7b9471 (diff) | |
download | upstream-0efdcebf5d8d4ae7adbe3fb289df003c892025e5.tar.gz upstream-0efdcebf5d8d4ae7adbe3fb289df003c892025e5.tar.bz2 upstream-0efdcebf5d8d4ae7adbe3fb289df003c892025e5.zip |
kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36098 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.9')
-rw-r--r-- | target/linux/generic/patches-3.9/259-regmap_dynamic.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.9/259-regmap_dynamic.patch b/target/linux/generic/patches-3.9/259-regmap_dynamic.patch index 3479d1a0a8..480f2c181f 100644 --- a/target/linux/generic/patches-3.9/259-regmap_dynamic.patch +++ b/target/linux/generic/patches-3.9/259-regmap_dynamic.patch @@ -39,6 +39,20 @@ enum regmap_endian { /* Unspecified -> 0 -> Backwards compatible default */ +--- a/drivers/base/regmap/Makefile ++++ b/drivers/base/regmap/Makefile +@@ -1,6 +1,8 @@ +-obj-$(CONFIG_REGMAP) += regmap.o regcache.o +-obj-$(CONFIG_REGMAP) += regcache-rbtree.o regcache-lzo.o regcache-flat.o +-obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o ++regmap-core-objs = regmap.o regcache.o regcache-rbtree.o regcache-lzo.o regcache-flat.o ++ifdef CONFIG_DEBUG_FS ++regmap-core-objs += regmap-debugfs.o ++endif ++obj-$(CONFIG_REGMAP) += regmap-core.o + obj-$(CONFIG_REGMAP_I2C) += regmap-i2c.o + obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o + obj-$(CONFIG_REGMAP_MMIO) += regmap-mmio.o --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -13,6 +13,7 @@ |