Tim Zimmermann | 6a834b7 | 2020-09-03 09:11:59 +0200 | [diff] [blame] | 1 | #ifndef SEC_CLASS_H |
| 2 | #define SEC_CLASS_H |
| 3 | |
| 4 | #ifdef CONFIG_DRV_SAMSUNG |
| 5 | extern struct device *sec_device_create(void *drvdata, const char *fmt); |
Tim Zimmermann | f5a8669 | 2020-12-25 08:39:43 +0100 | [diff] [blame] | 6 | extern struct device *sec_device_find(const char *name); |
Tim Zimmermann | 6a834b7 | 2020-09-03 09:11:59 +0200 | [diff] [blame] | 7 | extern void sec_device_destroy(dev_t devt); |
| 8 | #else |
| 9 | #define sec_device_create(a, b) (-1) |
| 10 | #define sec_device_destroy(a) do { } while (0) |
| 11 | #endif |
| 12 | |
| 13 | #endif /* SEC_CLASS_H */ |