|
@@ -40,6 +40,7 @@
|
|
#include <commproc.h>
|
|
#include <commproc.h>
|
|
#include <netdev.h>
|
|
#include <netdev.h>
|
|
#include <asm/cache.h>
|
|
#include <asm/cache.h>
|
|
|
|
+#include <linux/compiler.h>
|
|
|
|
|
|
#if defined(CONFIG_OF_LIBFDT)
|
|
#if defined(CONFIG_OF_LIBFDT)
|
|
#include <libfdt.h>
|
|
#include <libfdt.h>
|
|
@@ -185,7 +186,7 @@ static int check_CPU (long clock, uint pvr, uint immr)
|
|
uint k, m;
|
|
uint k, m;
|
|
char buf[32];
|
|
char buf[32];
|
|
char pre = 'X';
|
|
char pre = 'X';
|
|
- char *mid = "xx";
|
|
|
|
|
|
+ __maybe_unused char *mid = "xx";
|
|
char *suf;
|
|
char *suf;
|
|
|
|
|
|
/* the highest 16 bits should be 0x0050 for a 8xx */
|
|
/* the highest 16 bits should be 0x0050 for a 8xx */
|