summaryrefslogtreecommitdiff
path: root/board/eltec
diff options
context:
space:
mode:
Diffstat (limited to 'board/eltec')
-rw-r--r--board/eltec/elppc/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/eltec/elppc/misc.c b/board/eltec/elppc/misc.c
index d476cd5..89f1b1d 100644
--- a/board/eltec/elppc/misc.c
+++ b/board/eltec/elppc/misc.c
@@ -116,7 +116,7 @@ int misc_init_r (void)
eerev.etheraddr[5] = 0x4D;
/* cache config word for ELPPC */
- *(int *) &eerev.res[0] = 0;
+ memset(&eerev.res[0], 0, 4);
initSrom = 1; /* force dialog */
copyNv = 1; /* copy to nvram */