input: qtouch: Fix warning
authorColin Cross <ccross@google.com>
Fri, 30 Jul 2010 19:16:30 +0000 (12:16 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:28 +0000 (16:33 -0700)
Signed-off-by: Colin Cross <ccross@google.com>
drivers/input/touchscreen/qtouch_obp_ts.c

index 3da57437029bf4b2453078bfaf1cd8df9802ac86..20650d78c3c29390f5073ba3fe8e01d5084b121c 100644 (file)
@@ -1311,7 +1311,9 @@ static int qtouch_process_info_block(struct qtouch_ts_data *ts)
 
        return 0;
 
+#ifndef IGNORE_CHECKSUM_MISMATCH
 err_bad_checksum:
+#endif
 err_no_checksum:
 err_missing_objs:
 err_no_msg_proc: