RE: Compilation broken for 3430SDP defconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Felipe Balbi [mailto:me@xxxxxxxxxxxxxxx] 
> On Mon, Oct 06, 2008 at 09:14:19PM +0530, Gadiyar, Anand wrote:
> > CONFIG_GPIO_TWL4030 needs to be set in menuconfig otherwise,
> > for OMAP3 defconfig we get the below build error.
> > 
> > arch/arm/mach-omap2/built-in.o: In function `hsmmc_card_detect':
> > /share/anand/tony/arch/arm/mach-omap2/hsmmc.c:50: undefined reference to `twl4030_get_gpio_datain'
> > arch/arm/mach-omap2/built-in.o: In function `hsmmc_cleanup':
> > /share/anand/tony/arch/arm/mach-omap2/hsmmc.c:82: undefined reference to `twl4030_free_gpio'
> > arch/arm/mach-omap2/built-in.o: In function `hsmmc_late_init':
> > /share/anand/tony/arch/arm/mach-omap2/hsmmc.c:63: undefined reference to `twl4030_request_gpio'
> > /share/anand/tony/arch/arm/mach-omap2/hsmmc.c:67: undefined reference to `twl4030_set_gpio_debounce'
> > make: *** [.tmp_vmlinux1] Error 1
> 
> Yes, we need defconfig changes since Kconfig is not asking about the new
> CONFIG_GPIO_TWL4030 symbol added.
> 
> That'll probably change soon when we start using standard gpio calls but
> please, provide the defconfig change. You could even do it for all omap3
> plus 2430.

Will it help if we have a 'default' option in drivers/gpio/Kconfig?

Something like:
+	default y if ARCH_OMAP34XX || MACH_OMAP_2430SDP


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux