diff options
author | David Brown <davidb@codeaurora.org> | 2013-03-12 14:41:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 13:39:40 -0400 |
commit | ce44bf5b5544cbe6358abb01f039361a99b80901 (patch) | |
tree | d50ca57efbfa4245d32d2206e42546d02cb2c3cd /include/linux | |
parent | 37799ef4fa95ceec09b5c214fb281c6e6acddf5b (diff) |
SSBI: Remove MSM_ prefix from SSBI drivers
Although the SSBI sub is currently only used on MSM SoCs, it is still
a bus in its own right. Remove this msm_ prefix from the driver and
it's symbols. Clients can now refer directly to ssbi_write() and
ssbi_read().
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ssbi.h (renamed from include/linux/msm_ssbi.h) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/linux/msm_ssbi.h b/include/linux/ssbi.h index 0fe245bb2940..44ef5da21470 100644 --- a/include/linux/msm_ssbi.h +++ b/include/linux/ssbi.h | |||
@@ -12,27 +12,27 @@ | |||
12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #ifndef _LINUX_MSM_SSBI_H | 15 | #ifndef _LINUX_SSBI_H |
16 | #define _LINUX_MSM_SSBI_H | 16 | #define _LINUX_SSBI_H |
17 | 17 | ||
18 | #include <linux/types.h> | 18 | #include <linux/types.h> |
19 | 19 | ||
20 | struct msm_ssbi_slave_info { | 20 | struct ssbi_slave_info { |
21 | const char *name; | 21 | const char *name; |
22 | void *platform_data; | 22 | void *platform_data; |
23 | }; | 23 | }; |
24 | 24 | ||
25 | enum msm_ssbi_controller_type { | 25 | enum ssbi_controller_type { |
26 | MSM_SBI_CTRL_SSBI = 0, | 26 | MSM_SBI_CTRL_SSBI = 0, |
27 | MSM_SBI_CTRL_SSBI2, | 27 | MSM_SBI_CTRL_SSBI2, |
28 | MSM_SBI_CTRL_PMIC_ARBITER, | 28 | MSM_SBI_CTRL_PMIC_ARBITER, |
29 | }; | 29 | }; |
30 | 30 | ||
31 | struct msm_ssbi_platform_data { | 31 | struct ssbi_platform_data { |
32 | struct msm_ssbi_slave_info slave; | 32 | struct ssbi_slave_info slave; |
33 | enum msm_ssbi_controller_type controller_type; | 33 | enum ssbi_controller_type controller_type; |
34 | }; | 34 | }; |
35 | 35 | ||
36 | int msm_ssbi_write(struct device *dev, u16 addr, u8 *buf, int len); | 36 | int ssbi_write(struct device *dev, u16 addr, u8 *buf, int len); |
37 | int msm_ssbi_read(struct device *dev, u16 addr, u8 *buf, int len); | 37 | int ssbi_read(struct device *dev, u16 addr, u8 *buf, int len); |
38 | #endif | 38 | #endif |