staging: most: fix hdm-dim2 build error
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 3 Aug 2015 18:35:51 +0000 (11:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:39:51 +0000 (17:39 -0700)
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@infradead.org>
Cc: Jain Roy Ambi <JainRoy.Ambi@microchip.com>
Cc: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/Kconfig

index 4abeb54..1d4ad1d 100644 (file)
@@ -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.