You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
There are many cases in which the company name is misspelled. The patch fixes these typos. Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I8968fdbbbb6db89dbd94ce547b9dc5d37e928d6d
27 lines
749 B
C
27 lines
749 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2023 Rockchip Electronics Co., Ltd.
|
|
* Author: Hisping <hisping.lin@rock-chips.com>
|
|
*/
|
|
#ifndef __ROCKCHIP_NVMEM_H
|
|
#define __ROCKCHIP_NVMEM_H
|
|
|
|
#if IS_REACHABLE(CONFIG_NVMEM_ROCKCHIP_SEC_OTP)
|
|
int rockchip_read_oem_non_protected_otp(unsigned int byte_off,
|
|
void *byte_buf, size_t byte_len);
|
|
int rockchip_write_oem_non_protected_otp(unsigned int byte_off,
|
|
void *byte_buf, size_t byte_len);
|
|
#else
|
|
static inline int rockchip_read_oem_non_protected_otp(unsigned int byte_off,
|
|
void *byte_buf, size_t byte_len)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
static inline int rockchip_write_oem_non_protected_otp(unsigned int byte_off,
|
|
void *byte_buf, size_t byte_len)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
#endif
|
|
#endif
|