summaryrefstree
path: root/kernel/include/linux/regulator/pmic_class.h
blob: 38cf274129141980faa365ca38eb5ac14550441c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef PMIC_CLASS_H
#define PMIC_CLASS_H

#ifdef CONFIG_DRV_SAMSUNG_PMIC
extern struct device *pmic_device_create(void *drvdata, const char *fmt);
extern void pmic_device_destroy(dev_t devt);
#else
#define pmic_device_create(a, b)		(-1)
#define pmic_device_destroy(a)		do { } while (0)
#endif

#endif /* PMIC_CLASS_H */