diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-09-16 16:25:24 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-10-13 16:05:46 +0100 |
commit | 239cfbde1f5843c4a24199f117d5f67f637d72d5 (patch) | |
tree | 60141fd81046a3b8d93dcbea1896d8b76b418252 | |
parent | d945b697d0eea5a811ec299c5f1a25889bb0242b (diff) | |
download | linux-stable-239cfbde1f5843c4a24199f117d5f67f637d72d5.tar.gz linux-stable-239cfbde1f5843c4a24199f117d5f67f637d72d5.tar.bz2 linux-stable-239cfbde1f5843c4a24199f117d5f67f637d72d5.zip |
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>
-rw-r--r-- | drivers/video/backlight/mbp_nvidia_bl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/backlight/mbp_nvidia_bl.c b/drivers/video/backlight/mbp_nvidia_bl.c index 385cba40ea87..06964af761c6 100644 --- a/drivers/video/backlight/mbp_nvidia_bl.c +++ b/drivers/video/backlight/mbp_nvidia_bl.c @@ -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); |