treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441
[linux-2.6-microblaze.git] / arch / x86 / platform / intel-mid / device_libs / platform_msic_thermal.c
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * platform_msic_thermal.c: msic_thermal platform data initialization file
4  *
5  * (C) Copyright 2013 Intel Corporation
6  * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
7  */
8
9 #include <linux/input.h>
10 #include <linux/init.h>
11 #include <linux/kernel.h>
12 #include <linux/gpio.h>
13 #include <linux/platform_device.h>
14 #include <linux/mfd/intel_msic.h>
15 #include <asm/intel-mid.h>
16
17 #include "platform_msic.h"
18
19 static void __init *msic_thermal_platform_data(void *info)
20 {
21         return msic_generic_platform_data(info, INTEL_MSIC_BLOCK_THERMAL);
22 }
23
24 static const struct devs_id msic_thermal_dev_id __initconst = {
25         .name = "msic_thermal",
26         .type = SFI_DEV_TYPE_IPC,
27         .delay = 1,
28         .msic = 1,
29         .get_platform_data = &msic_thermal_platform_data,
30 };
31
32 sfi_device(msic_thermal_dev_id);