All of lore.kernel.org
 help / color / mirror / Atom feed
* Try to compile nv_backlight.c gets an compilation error!
@ 2010-11-03 10:49 Dimitris Orfanos
       [not found] ` <201011031249.15609.sirtimid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Dimitris Orfanos @ 2010-11-03 10:49 UTC (permalink / raw)
  To: kernel-testers-u79uwXL29TY76Z2rM5mHXA

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Try to compile nv_backlight.c gets an compilation error!
       [not found] ` <201011031249.15609.sirtimid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2010-11-03 15:51   ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2010-11-03 15:51 UTC (permalink / raw)
  To: Dimitris Orfanos; +Cc: kernel-testers-u79uwXL29TY76Z2rM5mHXA

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-03 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-03 10:49 Try to compile nv_backlight.c gets an compilation error! Dimitris Orfanos
     [not found] ` <201011031249.15609.sirtimid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-03 15:51   ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.