1/* 2 * platform_msic_thermal.c: msic_thermal platform data initilization file 3 * 4 * (C) Copyright 2013 Intel Corporation 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; version 2 10 * of the License. 11 */ 12 13#include <linux/input.h> 14#include <linux/init.h> 15#include <linux/kernel.h> 16#include <linux/gpio.h> 17#include <linux/platform_device.h> 18#include <linux/mfd/intel_msic.h> 19#include <asm/intel-mid.h> 20 21#include "platform_msic.h" 22#include "platform_ipc.h" 23 24static void __init *msic_thermal_platform_data(void *info) 25{ 26 return msic_generic_platform_data(info, INTEL_MSIC_BLOCK_THERMAL); 27} 28 29static const struct devs_id msic_thermal_dev_id __initconst = { 30 .name = "msic_thermal", 31 .type = SFI_DEV_TYPE_IPC, 32 .delay = 1, 33 .get_platform_data = &msic_thermal_platform_data, 34 .device_handler = &ipc_device_handler, 35}; 36 37sfi_device(msic_thermal_dev_id); 38