2007-08-20 12:03:41 +08:00
|
|
|
#ifndef __ASM_SH_HEARTBEAT_H
|
|
|
|
#define __ASM_SH_HEARTBEAT_H
|
|
|
|
|
|
|
|
#include <linux/timer.h>
|
|
|
|
|
|
|
|
#define HEARTBEAT_INVERTED (1 << 0)
|
|
|
|
|
|
|
|
struct heartbeat_data {
|
|
|
|
void __iomem *base;
|
|
|
|
unsigned char *bit_pos;
|
|
|
|
unsigned int nr_bits;
|
|
|
|
struct timer_list timer;
|
|
|
|
unsigned int regsize;
|
2009-08-18 15:00:20 +08:00
|
|
|
unsigned int mask;
|
2007-08-20 12:03:41 +08:00
|
|
|
unsigned long flags;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __ASM_SH_HEARTBEAT_H */
|