On Tue, Jan 15, 2013 at 05:45:53AM +0800, kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git mmc-next > head: e35219140bbf0b6efcd8feb93fa6e9cb2df5bc08 > commit: 8733ba654cd9ad0396ac081b4858bfa0a29c5519 [5/29] mmc: slot-gpio: use devm_* managed functions to ease users > config: make ARCH=blackfin TCM-BF537_defconfig > > All error/warnings: > > In file included from arch/blackfin/include/asm/gpio.h:321:0, > from include/linux/gpio.h:45, > from drivers/mmc/core/slot-gpio.c:12: > include/asm-generic/gpio.h:298:10: warning: 'struct gpio_chip' declared inside parameter list [enabled by default] > include/asm-generic/gpio.h:298:10: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] > include/asm-generic/gpio.h:304:35: warning: 'struct gpio_chip' declared inside parameter list [enabled by default] > drivers/mmc/core/slot-gpio.c: In function 'mmc_gpio_request_ro': > >> drivers/mmc/core/slot-gpio.c:123:2: error: implicit declaration of function 'devm_gpio_request_one' [-Werror=implicit-function-declaration] > drivers/mmc/core/slot-gpio.c: In function 'mmc_gpio_free_ro': > >> drivers/mmc/core/slot-gpio.c:216:2: error: implicit declaration of function 'devm_gpio_free' [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors > Thanks for the reporting. I'm working on a fixing inside gpio headers. Shawn -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html