diff options
author | David Brown <davidb@codeaurora.org> | 2013-03-12 18:41:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 17:39:40 (GMT) |
commit | ce44bf5b5544cbe6358abb01f039361a99b80901 (patch) | |
tree | d50ca57efbfa4245d32d2206e42546d02cb2c3cd /include/linux | |
parent | 37799ef4fa95ceec09b5c214fb281c6e6acddf5b (diff) | |
download | linux-fsl-qoriq-ce44bf5b5544cbe6358abb01f039361a99b80901.tar.xz |
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 0fe245b..44ef5da 100644 --- a/include/linux/msm_ssbi.h +++ b/include/linux/ssbi.h @@ -12,27 +12,27 @@ * GNU General Public License for more details. */ -#ifndef _LINUX_MSM_SSBI_H -#define _LINUX_MSM_SSBI_H +#ifndef _LINUX_SSBI_H +#define _LINUX_SSBI_H #include <linux/types.h> -struct msm_ssbi_slave_info { +struct ssbi_slave_info { const char *name; void *platform_data; }; -enum msm_ssbi_controller_type { +enum ssbi_controller_type { MSM_SBI_CTRL_SSBI = 0, MSM_SBI_CTRL_SSBI2, MSM_SBI_CTRL_PMIC_ARBITER, }; -struct msm_ssbi_platform_data { - struct msm_ssbi_slave_info slave; - enum msm_ssbi_controller_type controller_type; +struct ssbi_platform_data { + struct ssbi_slave_info slave; + enum ssbi_controller_type controller_type; }; -int msm_ssbi_write(struct device *dev, u16 addr, u8 *buf, int len); -int msm_ssbi_read(struct device *dev, u16 addr, u8 *buf, int len); +int ssbi_write(struct device *dev, u16 addr, u8 *buf, int len); +int ssbi_read(struct device *dev, u16 addr, u8 *buf, int len); #endif |