diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 28c09170d77..b2b79b12ee9 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -259,6 +259,7 @@ header-y += mroute6.h header-y += msdos_fs.h header-y += msg.h header-y += msm_adc.h +header-y += epm_adc.h header-y += mtio.h header-y += n_r3964.h header-y += nbd.h diff --git a/include/linux/epm_adc.h b/include/linux/epm_adc.h index 1af97feb782..9cf2acf0784 100644 --- a/include/linux/epm_adc.h +++ b/include/linux/epm_adc.h @@ -1,16 +1,3 @@ -/* - * Copyright (c) 2012, Code Aurora Forum. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - #ifndef __EPM_ADC_H #define __EPM_ADC_H @@ -26,6 +13,7 @@ struct epm_chan_request { int32_t physical; }; +#ifdef __KERNEL__ struct epm_chan_properties { uint32_t resistorValue; uint32_t gain; @@ -41,6 +29,7 @@ struct epm_adc_platform_data { uint32_t bus_id; uint32_t gpio_expander_base_addr; }; +#endif #define EPM_ADC_IOCTL_CODE 0x91