platform-x86: intel_mid_thermal: add msic_thermal alias
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 15 Dec 2011 22:27:59 +0000 (22:27 +0000)
committerMatthew Garrett <mjg@redhat.com>
Tue, 20 Mar 2012 16:02:19 +0000 (12:02 -0400)
In newer boards this device is called "msic_thermal" instead of
"msic_sensor". To support both we add suitable alias for the driver.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_mid_thermal.c

index e4cc992..888b3af 100644 (file)
@@ -550,6 +550,7 @@ static int mid_thermal_remove(struct platform_device *pdev)
 
 static const struct platform_device_id therm_id_table[] = {
        { DRIVER_NAME, 1 },
+       { "msic_thermal", 1 },
        { }
 };