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

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

 



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?
> 
> regards,
> dan carpenter
> 

--
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