imx233/bootloader: fix red

Change-Id: I209cdee6007d3b3c039f6b0b63a30fabc8aefb41
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index 8ac74f1..2238728 100644
--- a/bootloader/imx233.c
+++ b/bootloader/imx233.c
@@ -157,7 +157,12 @@
 
     button_init();
     /* dummy read, might be necessary to init things */
+#ifdef HAVE_BUTTON_DATA
+    int data;
+    button_read_device(&data);
+#else
     button_read_device();
+#endif
 
 #ifdef HAS_BUTTON_HOLD
     if(button_hold())