mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
![Daniel Baluta](/assets/img/avatar_default.png)
This is useful for easily adding SPI support in later patches. Now bmc150_magn exports core functions to be used by I2C/SPI drivers instances. For the moment only I2C driver is supported. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Acked-by: Irina Tirdea <irina.tirdea@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
11 lines
337 B
C
11 lines
337 B
C
#ifndef _BMC150_MAGN_H_
|
|
#define _BMC150_MAGN_H_
|
|
|
|
extern const struct regmap_config bmc150_magn_regmap_config;
|
|
extern const struct dev_pm_ops bmc150_magn_pm_ops;
|
|
|
|
int bmc150_magn_probe(struct device *dev, struct regmap *regmap, int irq,
|
|
const char *name);
|
|
int bmc150_magn_remove(struct device *dev);
|
|
|
|
#endif /* _BMC150_MAGN_H_ */
|