nlm: Ensure callback code also checks that the files match
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / nvram.h
CommitLineData
1da177e4
LT
1#ifndef _LINUX_NVRAM_H
2#define _LINUX_NVRAM_H
3
607ca46e 4#include <uapi/linux/nvram.h>
1da177e4 5
1da177e4
LT
6/* __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);
1da177e4 13#endif /* _LINUX_NVRAM_H */