mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +00:00
ARM: pxa: remove broken balloon3_gpio_vbus reference
balloon3_udc_init() tries to register a balloon3_gpio_vbus device, but this has never been defined in the mainline kernel. To avoid the obvious build failure when this function is enabled, remove the bogus reference here. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Eric Miao <eric.y.miao@gmail.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Cc: Daniel Mack <zonque@gmail.com>
This commit is contained in:
parent
1ced9a5b07
commit
419606ec4d
@ -331,7 +331,6 @@ static struct pxa2xx_udc_mach_info balloon3_udc_info __initdata = {
|
||||
static void __init balloon3_udc_init(void)
|
||||
{
|
||||
pxa_set_udc_info(&balloon3_udc_info);
|
||||
platform_device_register(&balloon3_gpio_vbus);
|
||||
}
|
||||
#else
|
||||
static inline void balloon3_udc_init(void) {}
|
||||
|
Loading…
Reference in New Issue
Block a user