Messages in this thread | | | Date | Mon, 22 Aug 2011 12:13:30 +0200 | From | Samuel Ortiz <> | Subject | Re: [PATCH] mfd wm8350: rename static gpio_set_debounce() |
| |
Hi Sascha,
On Wed, Aug 10, 2011 at 10:05:49AM +0200, Sascha Hauer wrote: > > 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. Thanks for the fix, I applied this patch to both of my branches. I'll send a pull request for the MFD fixes soon.
Cheers, Samuel.
-- Intel Open Source Technology Centre http://oss.intel.com/
| |