From: Mika Westerberg Date: Thu, 15 Dec 2011 22:27:59 +0000 (+0000) Subject: platform-x86: intel_mid_thermal: add msic_thermal alias X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3fca3d3d5075cd1365c763c6a62076f1ea726229;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git platform-x86: intel_mid_thermal: add msic_thermal alias 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 Signed-off-by: Kirill A. Shutemov Signed-off-by: Alan Cox Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c index e4cc99209ff1..888b3af4877b 100644 --- a/drivers/platform/x86/intel_mid_thermal.c +++ b/drivers/platform/x86/intel_mid_thermal.c @@ -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 }, { } };