mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 04:26:54 +07:00
761b7910d4
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>
12 lines
337 B
C
12 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_ */
|