Fix autoloading of MacBook Pro backlight driver.
Use new MODULE_DEVICE_TABLE(dmi, ...) facility. There's no need for every driver to screw it up for themselves, when the alias can be generated automatically. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
d945b697d0
commit
239cfbde1f
@ -111,6 +111,4 @@ module_exit(mbp_exit);
|
||||
MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>");
|
||||
MODULE_DESCRIPTION("Nvidia-based Macbook Pro Backlight Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("svnAppleInc.:pnMacBookPro3,1");
|
||||
MODULE_ALIAS("svnAppleInc.:pnMacBookPro3,2");
|
||||
MODULE_ALIAS("svnAppleInc.:pnMacBookPro4,1");
|
||||
MODULE_DEVICE_TABLE(dmi, mbp_device_table);
|
||||
|
Loading…
Reference in New Issue
Block a user