exynos-linux-stable/include/linux/sec_sysfs.h
FAROVITUS 2b92eefa41 import G965FXXU7DTAA OSRC
*First release for Android (Q).

Signed-off-by: FAROVITUS <farovitus@gmail.com>
2020-02-04 13:50:09 +02:00

19 lines
421 B
C

#ifndef SEC_SYSFS_H
#define SEC_SYSFS_H
#ifdef CONFIG_SEC_SYSFS
extern struct device *sec_device_create(void *drvdata, const char *fmt);
extern void sec_device_destroy(dev_t devt);
#else
static inline struct device *sec_device_create(void *drvdata, const char *fmt)
{
pr_err("No rule to make sec sysfs\n");
return NULL;
}
static inline void sec_device_destroy(dev_t devt)
{
return;
}
#endif
#endif /* SEC_SYSFS_H */