Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_NVRAM_H |
| 2 | #define _LINUX_NVRAM_H |
| 3 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 4 | #include <uapi/linux/nvram.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | /* __foo is foo without grabbing the rtc_lock - get it yourself */ |
| 7 | extern unsigned char __nvram_read_byte(int i); |
| 8 | extern unsigned char nvram_read_byte(int i); |
| 9 | extern void __nvram_write_byte(unsigned char c, int i); |
| 10 | extern void nvram_write_byte(unsigned char c, int i); |
| 11 | extern int __nvram_check_checksum(void); |
| 12 | extern int nvram_check_checksum(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #endif /* _LINUX_NVRAM_H */ |