projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4585aba
)
intel-oaktrail: switch to using use MODULE_DEVICE_TABLE
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 14 Nov 2011 08:27:00 +0000
(
00:27
-0800)
committer
Matthew Garrett
<mjg@redhat.com>
Tue, 20 Mar 2012 16:02:02 +0000
(12:02 -0400)
Use MODULE_DEVCE_TABLE instead of rolling MODULE_ALIAS by hand.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_oaktrail.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel_oaktrail.c
b/drivers/platform/x86/intel_oaktrail.c
index 6ee0b5c909330849836c7c22dfd6713da62e25ab..79a0c2f6be53996c2771ffd532e517a6ac8bef4e 100644
(file)
--- a/
drivers/platform/x86/intel_oaktrail.c
+++ b/
drivers/platform/x86/intel_oaktrail.c
@@
-313,6
+313,7
@@
static struct dmi_system_id __initdata oaktrail_dmi_table[] = {
},
{ }
};
+MODULE_DEVICE_TABLE(dmi, oaktrail_dmi_table);
static int __init oaktrail_init(void)
{
@@
-394,4
+395,3
@@
MODULE_AUTHOR("Yin Kangkai (kangkai.yin@intel.com)");
MODULE_DESCRIPTION("Intel Oaktrail Platform ACPI Extras");
MODULE_VERSION(DRIVER_VERSION);
MODULE_LICENSE("GPL");
-MODULE_ALIAS("dmi:*:svnIntelCorporation:pnOakTrailplatform:*");