[PATCH -next] staging: most: fix hdm-dim2 build error

From: Randy Dunlap
Date: Mon Aug 03 2015 - 14:35:56 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Fix build of hdm-dim2. Since it calls a function that is provided
by AIM_NETWORK, make it depend on that symbol.

Also fix a misspelling in the Kconfig file.

drivers/built-in.o: In function `deliver_netinfo_thread':
dim2_hdm.c:(.text+0x3a9563): undefined reference to `most_deliver_netinfo'

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Jain Roy Ambi <JainRoy.Ambi@xxxxxxxxxxxxx>
Cc: Andrey Shvetsov <andrey.shvetsov@xxxxxx>
---
drivers/staging/most/hdm-dim2/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

--- linux-next-20150803.orig/drivers/staging/most/hdm-dim2/Kconfig
+++ linux-next-20150803/drivers/staging/most/hdm-dim2/Kconfig
@@ -4,9 +4,10 @@

config HDM_DIM2
tristate "DIM2 HDM"
+ depends on AIM_NETWORK

---help---
- Say Y here if you want to connect via MediaLB to network tranceiver.
+ Say Y here if you want to connect via MediaLB to network transceiver.
This device driver is platform dependent and needs an addtional
platform driver to be installed. For more information contact
maintainer of this driver.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/