> -----Original Message----- > From: Randy Dunlap [mailto:rdunlap@xxxxxxxxxxxxx] > Sent: Thursday, May 02, 2013 4:19 AM > To: Stephen Rothwell > Cc: linux-next@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Kim, Milo; > Anton Vorontsov; David Woodhouse > Subject: [PATCH -next] power: fix lp8788-charger kconfig & build > > From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > > Fix build errors in lp8788-charger by making it depend on IIO. > Fixes errors when CONFIG_IIO=m and CHARGER_LP8788=y. > > lp8788-charger.c:(.text+0x2146b5): undefined reference to > `iio_channel_get' > lp8788-charger.c:(.text+0x2146ce): undefined reference to > `iio_channel_get' > lp8788-charger.c:(.text+0x214a86): undefined reference to > `iio_read_channel_processed' > lp8788-charger.c:(.text+0x214b51): undefined reference to > `iio_read_channel_processed' > lp8788-charger.c:(.text+0x214c30): undefined reference to > `iio_read_channel_processed' > lp8788-charger.c:(.text+0x214d93): undefined reference to > `iio_channel_release' > lp8788-charger.c:(.text+0x214dac): undefined reference to > `iio_channel_release' Thanks for fixing this. Acked-by: Milo Kim <milo.kim@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html