Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for compilation error on 2.6.34 #5

Open
tadzik opened this issue May 18, 2010 · 2 comments
Open

Fix for compilation error on 2.6.34 #5

tadzik opened this issue May 18, 2010 · 2 comments

Comments

@tadzik
Copy link

tadzik commented May 18, 2010

Hello,
Here's my quick and dirty fix for compilation issue on 2.6.34. backlight_device_register() needs some optional argument, luckily passing NULL works fine (at least for me). Patch here

EDIT: New patch here, done more-less the right way (almost copied from some grepped out code from the linux kernel)

EDIT2: Since author does not seem to give attention to the case and I've alredy seen people who need this, I created a fork (http://github.com/tadzik/lenovo-sl-laptop). I'm not really into kernel module development, but I'll try to take care of it.

@xuzhen
Copy link

xuzhen commented Aug 11, 2010

here is a better patch: http://wklej.org/id/375151/
works with kernel<2.6.34 and >=2.6.34

@tadzik
Copy link
Author

tadzik commented Aug 11, 2010

FYI, applied in my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants