]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/nvram.h
ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
[mirror_ubuntu-bionic-kernel.git] / include / linux / nvram.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_NVRAM_H
3 #define _LINUX_NVRAM_H
4
5 #include <uapi/linux/nvram.h>
6
7 /* __foo is foo without grabbing the rtc_lock - get it yourself */
8 extern unsigned char __nvram_read_byte(int i);
9 extern unsigned char nvram_read_byte(int i);
10 extern void __nvram_write_byte(unsigned char c, int i);
11 extern void nvram_write_byte(unsigned char c, int i);
12 extern int __nvram_check_checksum(void);
13 extern int nvram_check_checksum(void);
14 #endif /* _LINUX_NVRAM_H */