From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kim, Milo" Subject: RE: [PATCH -next] power: fix lp8788-charger kconfig & build Date: Wed, 1 May 2013 23:04:38 +0000 Message-ID: References: <20130501183734.7ad1efca2d06e75432edabbd@canb.auug.org.au> <51816A93.4070802@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Return-path: Received: from arroyo.ext.ti.com ([192.94.94.40]:40156 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757335Ab3EAXFS convert rfc822-to-8bit (ORCPT ); Wed, 1 May 2013 19:05:18 -0400 In-Reply-To: <51816A93.4070802@infradead.org> Content-Language: en-US Sender: linux-next-owner@vger.kernel.org List-ID: To: Randy Dunlap , Anton Vorontsov Cc: "linux-next@vger.kernel.org" , "linux-kernel@vger.kernel.org" , David Woodhouse , Stephen Rothwell > -----Original Message----- > From: Randy Dunlap [mailto:rdunlap@infradead.org] > Sent: Thursday, May 02, 2013 4:19 AM > To: Stephen Rothwell > Cc: linux-next@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 > > 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