]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/regmap.h
regmap: Add stub regmap calls as a build crutch for infrastructure users
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 22:49:51 +0000 (14:49 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 22:51:15 +0000 (14:51 -0800)
commit9cde5fcd435fd929db7b0b486efb435cdb1ddca4
treee7749dc6c7ef6b8a3db06772f10dd0e8c02e0ddb
parent028a01e601487b5991b70dba506dfe87d83543f6
regmap: Add stub regmap calls as a build crutch for infrastructure users

Make life easier for subsystems which build infrastructure on top of the
regmap API by providing stub definitions for most of the API so that users
can at least build even if the regmap API is not enabled without having to
add ifdefs if they don't want to.

These stubs are not expected to be useful and should never actually get
called, they just exist so that we can link so there are WARN_ONCE()s in
the stubs.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/regmap.h