lkml.org 
[lkml]   [2012]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/3] regmap: Add stub for regcache_sync_region()
    Date
    Added on another branch.

    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    ---
    include/linux/regmap.h | 7 +++++++
    1 files changed, 7 insertions(+), 0 deletions(-)

    diff --git a/include/linux/regmap.h b/include/linux/regmap.h
    index c500c64..4cd8035 100644
    --- a/include/linux/regmap.h
    +++ b/include/linux/regmap.h
    @@ -296,6 +296,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");
    --
    1.7.9.1


    \
     
     \ /
      Last update: 2012-02-24 14:41    [W:4.025 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site