Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
source "drivers/devfreq/Kconfig"
+source "drivers/xshm/Kconfig"
+
endmenu
obj-$(CONFIG_STAGING) += staging/
obj-y += platform/
obj-y += ieee802154/
+obj-$(CONFIG_XSHM) += xshm/
#common clk code
obj-y += clk/
--- /dev/null
+# XSHM gets selected by whoever wants it.
+config XSHM
+ depends on CONFIG_C2C
+ tristate
+
+config XSHM_CHR
+ tristate "Character device for External Shared Memory (XSHM)"
+ select XSHM
+ default n
+ ---help---
+ Say "Y" to use a character device for the External Shared
+ Memory (XSHM) IPC mechanism. XSHM is an IPC protocol used to
+ talk to external device such as modem over a shared memory
+ (e.g. Chip to Chip).
+ Only say "M" here if you want to test XSHM and need to load
+ and unload its module.
+ If unsure say N.
--- /dev/null
+obj-$(CONFIG_XSHM) += xshm.o
+xshm-objs := xshm_boot.o xshm_dev.o
+obj-$(CONFIG_XSHM_CHR) += xshm_chr.o