replace code with FIELD_SIZEOF
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-sh / mpc1211 / io.h
blob6298370bec2ddf781429280b4625fc91611b55c6
1 /*
2 * include/asm-sh/mpc1211/io.h
4 * Copyright 2001 Saito.K & Jeanne
6 * IO functions for an Interface MPC-1211
7 */
9 #ifndef _ASM_SH_IO_MPC1211_H
10 #define _ASM_SH_IO_MPC1211_H
12 #include <linux/time.h>
14 extern int mpc1211_irq_demux(int irq);
16 extern void init_mpc1211_IRQ(void);
17 extern void heartbeat_mpc1211(void);
19 extern void mpc1211_rtc_gettimeofday(struct timeval *tv);
20 extern int mpc1211_rtc_settimeofday(const struct timeval *tv);
22 #endif /* _ASM_SH_IO_MPC1211_H */