Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
Ralf Baechle | ba8990f | 2006-04-03 00:21:30 +0100 | [diff] [blame] | 6 | * Copyright (C) 2003, 06 by Ralf Baechle |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | */ |
Ralf Baechle | c183f12 | 2005-11-15 13:05:26 +0000 | [diff] [blame] | 8 | #ifndef __ASM_MACH_JMR3927_DS1742_H |
| 9 | #define __ASM_MACH_JMR3927_DS1742_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
| 11 | #include <asm/jmr3927/jmr3927.h> |
| 12 | |
Ralf Baechle | ba8990f | 2006-04-03 00:21:30 +0100 | [diff] [blame] | 13 | #define rtc_read(reg) (jmr3927_nvram_in(reg)) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #define rtc_write(data, reg) (jmr3927_nvram_out((data),(reg))) |
| 15 | |
Ralf Baechle | c183f12 | 2005-11-15 13:05:26 +0000 | [diff] [blame] | 16 | #endif /* __ASM_MACH_JMR3927_DS1742_H */ |