1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2024-11-19 13:27:49 +00:00
a155-U-u1/kernel-5.10/drivers/char/rpmb/rpmb-cdev.h
2024-03-11 06:53:12 +11:00

19 lines
642 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2021 MediaTek Inc.
*/
#ifdef CONFIG_RPMB_INTF_DEV
int __init rpmb_cdev_init(void);
void __exit rpmb_cdev_exit(void);
void rpmb_cdev_prepare(struct rpmb_dev *rdev);
void rpmb_cdev_add(struct rpmb_dev *rdev);
void rpmb_cdev_del(struct rpmb_dev *rdev);
#else
static inline int __init rpmb_cdev_init(void) { return 0; }
static inline void __exit rpmb_cdev_exit(void) {}
static inline void rpmb_cdev_prepare(struct rpmb_dev *rdev) {}
static inline void rpmb_cdev_add(struct rpmb_dev *rdev) {}
static inline void rpmb_cdev_del(struct rpmb_dev *rdev) {}
#endif /* CONFIG_RPMB_INTF_DEV */