Skip to content

Commit 45fcac1

Browse files
arndbSamuel Ortiz
authored andcommitted
mfd: Move ssbi driver into drivers/mfd
There is no reason for ssbi to have its own top-level driver directory when the only users of this interface are all MFD drivers. The only mainline driver using it at the moment (PM8921) is marked broken and in fact does not compile. I have verified that fixing the trivial build breakage in pm8921 links in the new ssbi code just fine, but that can be a separate patch. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: David Brown <davidb@codeaurora.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent 317ddd2 commit 45fcac1

7 files changed

Lines changed: 3 additions & 22 deletions

File tree

‎drivers/Kconfig‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ source "drivers/i2c/Kconfig"
5252

5353
source "drivers/spi/Kconfig"
5454

55-
source "drivers/ssbi/Kconfig"
56-
5755
source "drivers/hsi/Kconfig"
5856

5957
source "drivers/pps/Kconfig"

‎drivers/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ obj-y += firmware/
117117
obj-$(CONFIG_CRYPTO) += crypto/
118118
obj-$(CONFIG_SUPERH) += sh/
119119
obj-$(CONFIG_ARCH_SHMOBILE) += sh/
120-
obj-$(CONFIG_SSBI) += ssbi/
121120
ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
122121
obj-y += clocksource/
123122
endif

‎drivers/mfd/Kconfig‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,8 @@ config MFD_PM8XXX
419419

420420
config MFD_PM8921_CORE
421421
tristate "Qualcomm PM8921 PMIC chip"
422-
depends on SSBI && BROKEN
422+
depends on (ARCH_MSM || HEXAGON)
423+
depends on BROKEN
423424
select MFD_CORE
424425
select MFD_PM8XXX
425426
help

‎drivers/mfd/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ obj-$(CONFIG_MFD_SI476X_CORE) += si476x-core.o
140140

141141
obj-$(CONFIG_MFD_CS5535) += cs5535-mfd.o
142142
obj-$(CONFIG_MFD_OMAP_USB_HOST) += omap-usb-host.o omap-usb-tll.o
143-
obj-$(CONFIG_MFD_PM8921_CORE) += pm8921-core.o
143+
obj-$(CONFIG_MFD_PM8921_CORE) += pm8921-core.o ssbi.o
144144
obj-$(CONFIG_MFD_PM8XXX_IRQ) += pm8xxx-irq.o
145145
obj-$(CONFIG_TPS65911_COMPARATOR) += tps65911-comparator.o
146146
obj-$(CONFIG_MFD_TPS65090) += tps65090.o
File renamed without changes.

‎drivers/ssbi/Kconfig‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎drivers/ssbi/Makefile‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)