On Thu, Apr 21, 2011 at 8:13 AM, Ellington Santos <[email protected]> wrote: > I've got a compiler error: > > root@darkelf:~/asus-switcheroo# make > make -C /lib/modules/2.6.37.6-smp/build M=/root/asus-switcheroo modules > make[1]: Entering directory `/usr/src/linux-2.6.37.6' > CC [M] /root/asus-switcheroo/asus-switcheroo.o > /root/asus-switcheroo/asus-switcheroo.c: In function 'asus_switcheroo_init': > /root/asus-switcheroo/asus-switcheroo.c:312:13: error: too many arguments to > function 'vga_switcheroo_register_client' > include/linux/vga_switcheroo.h:34:5: note: declared here > make[2]: *** [/root/asus-switcheroo/asus-switcheroo.o] Error 1 > make[1]: *** [_module_/root/asus-switcheroo] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.37.6' > make: *** [default] Error 2 > > :-(
I thought the extra switcheroo client arg went into 2.6.37, but maybe I made a mistake. There are two instances of KERNEL_VERSION(2,6,37) in the code, try changing them both to KERNEL_VERSION(2,6,38). Thanks, Alex _______________________________________________ Mailing list: https://launchpad.net/~hybrid-graphics-linux Post to : [email protected] Unsubscribe : https://launchpad.net/~hybrid-graphics-linux More help : https://help.launchpad.net/ListHelp

