]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/nvram.h
net: rtnetlink: validate IFLA_MTU attribute in rtnl_create_link()
[mirror_ubuntu-bionic-kernel.git] / include / linux / nvram.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _LINUX_NVRAM_H
3#define _LINUX_NVRAM_H
4
607ca46e 5#include <uapi/linux/nvram.h>
1da177e4 6
1da177e4
LT
7/* __foo is foo without grabbing the rtc_lock - get it yourself */
8extern unsigned char __nvram_read_byte(int i);
9extern unsigned char nvram_read_byte(int i);
10extern void __nvram_write_byte(unsigned char c, int i);
11extern void nvram_write_byte(unsigned char c, int i);
12extern int __nvram_check_checksum(void);
13extern int nvram_check_checksum(void);
1da177e4 14#endif /* _LINUX_NVRAM_H */