blob: cf0ff555a6ac486902d7dc27b977452fcd0458cf [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _LINUX_NVRAM_H
2#define _LINUX_NVRAM_H
3
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/nvram.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/* __foo is foo without grabbing the rtc_lock - get it yourself */
7extern unsigned char __nvram_read_byte(int i);
8extern unsigned char nvram_read_byte(int i);
9extern void __nvram_write_byte(unsigned char c, int i);
10extern void nvram_write_byte(unsigned char c, int i);
11extern int __nvram_check_checksum(void);
12extern int nvram_check_checksum(void);
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#endif /* _LINUX_NVRAM_H */