Quote:
Originally Posted by liumeng
hello,everyone!
when i compile the device driver of led ,i get the erro like this:
[root@localhost led]# arm-linux-gcc -D__KERNEL__ -DMODULE -I /home/liumeng/lmldd
/linux-2.6.34.1/ -c -O -Wall led.c -o led.o
led.c:34: error: variable `GPIO_LED_ctl_ops' has initializer but incomplete type
can anyone help me ??!!thank you !!
|
Based on your post, no. You give us no details (version/distro of Linux, what "LED" you're trying to work with, where you got the code, etc.
Based on what you've posted, the short answer is, you've got a problem in your code, fix it.