From 7229295f7d2031b5cb2351e574fe8c1539fb4818 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 23 Feb 2012 19:49:43 +0000 Subject: [PATCH] --- yaml --- r: 294151 b: refs/heads/master c: a313f9f565d84f2fcc81c818a6b0baaae752a821 h: refs/heads/master i: 294149: 8d9cbb00643f26654656e737f52dc3ab645dc348 294147: f0c51dab10459f417e651b9e87a65a6d764e067b 294143: 518a0c174c3a37ad39547b51688bce88f18b71d6 v: v3 --- [refs] | 2 +- trunk/include/linux/regmap.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 6a02c0560bf5..1ad752505417 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d5b7d4f80ed6e861c1c220fd57e3dad0912526e +refs/heads/master: a313f9f565d84f2fcc81c818a6b0baaae752a821 diff --git a/trunk/include/linux/regmap.h b/trunk/include/linux/regmap.h index 42c69e75b131..33d5f1d9f882 100644 --- a/trunk/include/linux/regmap.h +++ b/trunk/include/linux/regmap.h @@ -280,6 +280,13 @@ static inline int regcache_sync(struct regmap *map) return -EINVAL; } +static inline int regcache_sync_region(struct regmap *map, unsigned int min, + unsigned int max) +{ + WARN_ONCE(1, "regmap API is disabled"); + return -EINVAL; +} + static inline void regcache_cache_only(struct regmap *map, bool enable) { WARN_ONCE(1, "regmap API is disabled");