Re: linux-next: build error from iio_simple_dummy_buffer.c

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

 



On Mon, Oct 31, 2011 at 11:24:36AM +0000, Jonathan Cameron wrote:
> On 10/28/11 12:29, Dan Carpenter wrote:
> > I get a compile error in linux-next:
> > 
> >   CC [M]  drivers/staging/iio/iio_simple_dummy_buffer.o
> >   drivers/staging/iio/iio_simple_dummy_buffer.c: In function ‘iio_simple_dummy_configure_buffer’:
> >   drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: error: ‘THIS_MODULE’ undeclared (first use in this function)
> >   drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: note: each undeclared identifier is reported only once for each function it appears in
> >   make[1]: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 1
> >   make: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 2
> > 
> > We could just include <linux/module.h> I guess?
> Yup, my bad.  Do you want to do the patch, or shall I do it and
> credit it to you?

Do no work and collect a Reported-by is always prefered.  :)

thanks,
dan carpenter


Attachment: signature.asc
Description: Digital signature


[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