Re: [PATCH] staging:iio:adis16260: select IIO_ADIS_LIB to fix build error

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

 



On Mon, Dec 31, 2012 at 08:16:10AM +0100, Lars-Peter Clausen wrote:
> On 12/31/2012 06:36 AM, Yuanhan Liu wrote:
> > Commit 9d5e9fdf turned the code to use adis library, so it depends on
> > adis lib. But it forgot to select it at Kconfig file. Thus if adis is
> > not enabled, it will produce following build errros(catched by Fengguang's
> > 0-DAY kernel build testing system):
> >   ERROR: "adis_initial_startup" [drivers/staging/iio/gyro/adis16260.ko] undefined!
> >   ERROR: "adis_init" [drivers/staging/iio/gyro/adis16260.ko] undefined!
> >   ERROR: "adis_write_reg" [drivers/staging/iio/gyro/adis16260.ko] undefined!
> >   ERROR: "adis_read_reg" [drivers/staging/iio/gyro/adis16260.ko] undefined!
> >   ERROR: "adis_single_conversion" [drivers/staging/iio/gyro/adis16260.ko] undefined!
> > 
> > Selecting IIO_ADIS_LIB at Kconfig file fixes this issue.
> > 
> > Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> > Cc: Lars-Peter Clausen <lars@xxxxxxxxxx>
> > Cc: Jonathan Cameron <jic23@xxxxxxxxxx>
> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Yuanhan Liu <yuanhan.liu@xxxxxxxxxxxxxxx>
> 
> Hi,
> 
> Thanks. But I already sent a similar patch some time ago. See
> http://www.spinics.net/lists/linux-iio/msg07128.html


Got it, and sorry for the duplicate patch.

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


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux