[PATCH] staging: comedi: Allow comedi on ARM

Ian Abbott abbotti at mev.co.uk
Mon Jan 21 17:21:23 UTC 2013


Bernd Porr reports success getting comedi to work on ARM.  He writes:

"""
comedi works nicely on the Raspberry PI. I've compiled the rpi kernel
with comedi enabled and it works with the USBDUX-sigma (need to test the
other boards). With comedirecord running I can plot one channel at 1kHz
without buffer overflow (resulting to 70% load).

So, I guess we just need to add "ARM" to Kconfig in the comedi subdir?

         depends on BROKEN || FRV || M32R || MN10300 || SUPERH || TILE || X86 || ARM

I'm running just now 3.2.27 but also the development kernel compiles
with ARM enabled (haven't tested yet).

/Bernd
"""

Enable the COMEDI config option to be selected for ARM.

Signed-off-by: Ian Abbott <abbotti at mev.co.uk>
Cc: Bernd Porr <mail at berndporr.me.uk>
---
 drivers/staging/comedi/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 39cf735..081e994 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -1,7 +1,8 @@
 config COMEDI
 	tristate "Data acquisition support (comedi)"
 	depends on m
-	depends on BROKEN || FRV || M32R || MN10300 || SUPERH || TILE || X86
+	depends on BROKEN || FRV || M32R || MN10300 || SUPERH || TILE || \
+		   X86 || ARM
 	---help---
 	  Enable support a wide range of data acquisition devices
 	  for Linux.
-- 
1.8.1.1




More information about the devel mailing list