Re: Try to compile nv_backlight.c gets an compilation error!

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

 



On Wed, 3 Nov 2010 12:49:15 +0200 Dimitris Orfanos wrote:

> Hello,
> 
> I try to use the checkpatch.pl script on drivers/nvidia/nv_backlight.c but 
> before this I tried to compile the code with make nv_backlight.o I get the 
> following error:
> 
> nv_backlight.c:12:29: fatal error: linux/backlight.h: No such file or 
> directory
> compilation terminated.
> 
> The backlight.h file does not exist. What to do?
> --

The file include/linux/backlight.h does indeed exist in my kernel trees.

What kernel version are you using?  Could it be corrupted?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe kernel-testers" 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 Kernel]     [Linux SCSI]

  Powered by Linux