> -----Original Message----- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: Thursday, May 02, 2013 4:19 AM > To: Stephen Rothwell > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Kim, Milo; > Anton Vorontsov; David Woodhouse > Subject: [PATCH -next] power: fix lp8788-charger kconfig & build > > From: Randy Dunlap <rdun...@infradead.org> > > 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....@ti.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/