rtc compile warning fix
Wli's change to sbus/char/rtc.c (see: http://marc.theaimsgroup.com/?
l=linux-sparc&m=110362936306577&w=2) causes sparc64 to throw warnings.
This is fixed upstream for sparc32 by adding asm/io.h as an include in asm/mostek.h. Doing the same for sparc64 resolves the warnings, so here's the patch.
Signed-off-by Tom 'spot' Callaway <[email protected]>
~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora Linux Project Leader
"If you are going through hell, keep going."
- Sir Winston Churchill
include/asm-sparc64/mostek.h renamed from include/asm-sparc64/mostek.h.BAD +1 -0
@@ -9,6 +9,7 @@#define _SPARC64_MOSTEK_H#include <asm/idprom.h> +#include <asm/io.h> /* M48T02 Register Map (adapted from Sun NVRAM/Hostid FAQ) *