summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-12-08 16:05:58 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-12-08 16:05:58 +0100
commit51e487b4b55a69581f2d27cbf148ff98c173eaf7 (patch)
tree4ba19f41b044df39ed4586ee82c377abe50f5813 /proc.h
parentf474c5031e5b8c5833342a504c6e33941a5103f0 (diff)
netsniff-ng: proto_ipv4: Move sockaddr_in declarations to narrower scope
Move the sockaddr_in definitions and preparations to the scope where they're used, i.e. only if geoip is enabled and working. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proc.h')
0 files changed, 0 insertions, 0 deletions
map
The handling of bypass_val_on that was added in regulator_get_bypass_regmap is done unconditionally however several drivers don't define a value for bypass_val_on. This results in those drivers reporting bypass being enabled when it is not. In regulator_set_bypass_regmap we use bypass_mask if bypass_val_on is zero. This patch adds similar handling in regulator_get_bypass_regmap. Fixes: commit dd1a571daee7 ("regulator: helpers: Ensure bypass register field matches ON value") Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts')