sec_class.h 531 B

1234567891011121314
  1. #ifndef __SEC_CLASS_H__
  2. #define __SEC_CLASS_H__
  3. #if IS_ENABLED(CONFIG_DRV_SAMSUNG)
  4. extern struct device *sec_dev_get_by_name(const char *name);
  5. extern void sec_device_destroy(dev_t devt);
  6. extern struct device *sec_device_create(void *drvdata, const char *fmt);
  7. #else /* CONFIG_DRV_SAMSUNG */
  8. static inline struct device *sec_dev_get_by_name(const char *name) { return NULL; }
  9. static inline void sec_device_destroy(dev_t devt) {};
  10. #define sec_device_create(...) (NULL)
  11. #endif /* CONFIG_DRV_SAMSUNG */
  12. #endif /* __SEC_CLASS_H__ */