diff options
-rw-r--r-- | drivers/ssbi/Kconfig | 2 | ||||
-rw-r--r-- | include/linux/msm_ssbi.h | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ssbi/Kconfig b/drivers/ssbi/Kconfig index b57c41bd0119..c7bc534ddf50 100644 --- a/drivers/ssbi/Kconfig +++ b/drivers/ssbi/Kconfig | |||
@@ -5,7 +5,7 @@ | |||
5 | menu "Qualcomm MSM SSBI bus support" | 5 | menu "Qualcomm MSM SSBI bus support" |
6 | 6 | ||
7 | config MSM_SSBI | 7 | config MSM_SSBI |
8 | bool "Qualcomm Single-wire Serial Bus Interface (SSBI)" | 8 | tristate "Qualcomm Single-wire Serial Bus Interface (SSBI)" |
9 | help | 9 | help |
10 | If you say yes to this option, support will be included for the | 10 | If you say yes to this option, support will be included for the |
11 | built-in SSBI interface on Qualcomm MSM family processors. | 11 | built-in SSBI interface on Qualcomm MSM family processors. |
diff --git a/include/linux/msm_ssbi.h b/include/linux/msm_ssbi.h index cfa47df6d003..0fe245bb2940 100644 --- a/include/linux/msm_ssbi.h +++ b/include/linux/msm_ssbi.h | |||
@@ -33,17 +33,6 @@ struct msm_ssbi_platform_data { | |||
33 | enum msm_ssbi_controller_type controller_type; | 33 | enum msm_ssbi_controller_type controller_type; |
34 | }; | 34 | }; |
35 | 35 | ||
36 | #ifdef CONFIG_MSM_SSBI | ||
37 | int msm_ssbi_write(struct device *dev, u16 addr, u8 *buf, int len); | 36 | int msm_ssbi_write(struct device *dev, u16 addr, u8 *buf, int len); |
38 | int msm_ssbi_read(struct device *dev, u16 addr, u8 *buf, int len); | 37 | int msm_ssbi_read(struct device *dev, u16 addr, u8 *buf, int len); |
39 | #else | ||
40 | static inline int msm_ssbi_write(struct device *dev, u16 addr, u8 *buf, int len) | ||
41 | { | ||
42 | return -ENXIO; | ||
43 | } | ||
44 | static inline int msm_ssbi_read(struct device *dev, u16 addr, u8 *buf, int len) | ||
45 | { | ||
46 | return -ENXIO; | ||
47 | } | ||
48 | #endif | ||
49 | #endif | 38 | #endif |