staging: comedi: vmk80xx: fix compiler warning
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 18:21:48 +0000 (11:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 18:21:48 +0000 (11:21 -0700)
commit13f7952f8f13fb1bbd18b85988e3a5bbbed00879
treee36a5d2cb6db422f53ecef6890bb9538608f1637
parent107f04bbce331bf622b901ccec34a124e6b78584
staging: comedi: vmk80xx: fix compiler warning

gcc complains about some potentially uninitalized variables here, yet it
can not happen, due to an enumerated type (either the board is one type
or the other.)  Make the compiler happy by providing a default case
option that makes the logic a bit simpler for it to determine that there
really isn't a problem here.

Cc: H Hartley Sweeten <hartleys@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/vmk80xx.c