]> rtime.felk.cvut.cz Git - linux-imx.git/commit
staging: comedi: pcl730: tidy up the boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 6 Jun 2013 00:48:17 +0000 (17:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:03:09 +0000 (12:03 -0700)
commita32b885ebe456dc254f7b5e3b16a9d40ed86bcb4
tree3fef484ba331834de67754a348929d810d08667c
parente3693fd3baeddf2e96b2f7734a5fe5509acedb40
staging: comedi: pcl730: tidy up the boardinfo

Convert the boardinfo declaration to C99 format and move it near the
struct definition.

Since the *_SIZE defines are only used in the boardinfo, remove them
and just open code the values in the boardinfo.

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