summaryrefslogtreecommitdiff
path: root/board/Marvell/db64460/db64460.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/Marvell/db64460/db64460.c')
-rw-r--r--board/Marvell/db64460/db64460.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/Marvell/db64460/db64460.c b/board/Marvell/db64460/db64460.c
index 14e6355..a7836ed 100644
--- a/board/Marvell/db64460/db64460.c
+++ b/board/Marvell/db64460/db64460.c
@@ -34,6 +34,7 @@
#include "../include/mv_gen_reg.h"
#include <net.h>
#include <netdev.h>
+#include <linux/compiler.h>
#include "eth.h"
#include "mpsc.h"
@@ -410,7 +411,7 @@ int checkboard (void)
void debug_led (int led, int mode)
{
volatile int *addr = 0;
- int dummy;
+ __maybe_unused int dummy;
if (mode == 1) {
switch (led) {