diff options
author | 2011-12-08 10:22:06 -0800 | |
---|---|---|
committer | 2011-12-08 10:22:06 -0800 | |
commit | 581adcbe121872429de76ff9884762de71a76200 (patch) | |
tree | 6c7f0faf7ee8812630197e7c23fc32bb4cc978c2 /drivers/i2c/algos/i2c-algo-bit.c | |
parent | memblock: Fix include breakages caused by 24aa07882b (diff) | |
download | wireguard-linux-581adcbe121872429de76ff9884762de71a76200.tar.xz wireguard-linux-581adcbe121872429de76ff9884762de71a76200.zip |
memblock: Make memblock_{add|remove|free|reserve}() return int and update prototypes
memblock_{add|remove|free|reserve}() return either 0 or -errno but had
long as return type. Chage it to int. Also, drop 'extern' from all
prototypes in memblock.h - they are unnecessary and used
inconsistently (especially if mm.h is included in the picture).
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions