From: Greg Kroah-Hartman Date: Thu, 6 Sep 2012 18:21:48 +0000 (-0700) Subject: staging: comedi: vmk80xx: fix compiler warning X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b80b24210a8bde6dd3f0a0c559b1db1231029998;p=pandora-kernel.git staging: comedi: vmk80xx: fix compiler warning commit 13f7952f8f13fb1bbd18b85988e3a5bbbed00879 upstream. 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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed