mfd: Rename wm8350 static gpio_set_debounce()
commitaa9d842c5f2da6cdef2777f2f062f61898be89d3
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 10 Aug 2011 08:05:49 +0000 (10 10:05 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Sep 2011 14:37:58 +0000 (6 16:37 +0200)
tree1f03f31fe41484b40e8a8f8cd17f7552463ef2ad
parent8efcc57dedfebc99c3cd39564e3fc47cd1a24b75
mfd: Rename wm8350 static gpio_set_debounce()

The kernel already has a function with this name declared
in asm-generic/gpio.h. So if this header leaks into wm8350/gpio.c
we get

drivers/mfd/wm8350-gpio.c:40:12: error: conflicting types for 'gpio_set_debounce'
include/asm-generic/gpio.h:156:12: note: previous declaration of 'gpio_set_debounce' was here

Fix this by adding a wm8350_ prefix to the function.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8350-gpio.c