]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: cb_pcimdas: define the register map
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 25 Feb 2015 23:28:40 +0000 (16:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 02:56:30 +0000 (18:56 -0800)
commite3bd4c8e0f278dad527c2b5f6b0d895dfba9af31
treeaaf5a318446d4e2296439200160f78c2c80bd83c
parentc7549d770a27cbdb521ea9ed646c1fc242d77a0a
staging: comedi: cb_pcimdas: define the register map

Add defines for the registers and bits. Use the defines to remove the
"magic" numbers.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_pcimdas.c