summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/adc/Makefile
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-11-10 09:04:28 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:23:18 -0800
commitd5f5d89f0a48930436dba9735fda4663e7b55ed2 (patch)
tree6a1a8f39914c352819533369eddc54f59013584f /drivers/staging/iio/adc/Makefile
parent76e407980728123223fac5c2e8273bc6e7e43cfd (diff)
Staging: iio: fix ring buffer build
max1363 uses both the iio hardware ring buffer and software ring buffer interfaces, but its Makefile and Kconfig do not reflect that usage, so its build breaks. Add a new Kconfig symbol to reflect that usage and change max1363.h & Makefile to use the new Kconfig symbol. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Diffstat (limited to 'drivers/staging/iio/adc/Makefile')
-rw-r--r--drivers/staging/iio/adc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/Makefile b/drivers/staging/iio/adc/Makefile
index 0c2b6f39e8c8..08cee5c22b92 100644
--- a/drivers/staging/iio/adc/Makefile
+++ b/drivers/staging/iio/adc/Makefile
@@ -3,6 +3,6 @@
#
max1363-y := max1363_core.o
-max1363-$(CONFIG_IIO_RING_BUFFER) += max1363_ring.o
+max1363-$(CONFIG_MAX1363_RING_BUFFER) += max1363_ring.o
obj-$(CONFIG_MAX1363) += max1363.o