[PATCH 19/21] staging: comedi: ni_at_ao: fix board names

H Hartley Sweeten hsweeten at visionengravers.com
Tue Oct 1 00:55:33 UTC 2013


This driver works with "at-ao-6/10" boards not "ai-ao-6/10" boards.
Fix the names in the boardinfo.

Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
Cc: Ian Abbott <abbotti at mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
 drivers/staging/comedi/drivers/ni_at_ao.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_at_ao.c b/drivers/staging/comedi/drivers/ni_at_ao.c
index acb480e..10e3e947 100644
--- a/drivers/staging/comedi/drivers/ni_at_ao.c
+++ b/drivers/staging/comedi/drivers/ni_at_ao.c
@@ -106,10 +106,10 @@ struct atao_board {
 
 static const struct atao_board atao_boards[] = {
 	{
-		.name		= "ai-ao-6",
+		.name		= "at-ao-6",
 		.n_ao_chans	= 6,
 	}, {
-		.name		= "ai-ao-10",
+		.name		= "at-ao-10",
 		.n_ao_chans	= 10,
 	},
 };
-- 
1.8.3.2



More information about the devel mailing list