dm: sandbox: Add a simple driver to test of-platdata
[oweals/u-boot.git] / examples / standalone / atmel_df_pow2.c
index db0cd693a997f8a05e5cad5cdc7d11ed83506b67..2e14aba390e62d0974330c16069792f52f769568 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <exports.h>
+#include <spi.h>
 
 #define CMD_ID    0x9f
 #define CMD_STAT  0xd7
@@ -114,7 +115,7 @@ static char *getline(void)
        }
 }
 
-int atmel_df_pow2(int argc, char *argv[])
+int atmel_df_pow2(int argc, char * const argv[])
 {
        /* Print the ABI version */
        app_startup(argv);