mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 00:40:56 +07:00
13426454b6
This patch separates the core driver using regmap and the i2c driver which creates the i2c regmap. Also in the Kconfig file BMG160 and BMG160_I2C are separate now. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
11 lines
255 B
C
11 lines
255 B
C
#ifndef BMG160_H_
|
|
#define BMG160_H_
|
|
|
|
extern const struct dev_pm_ops bmg160_pm_ops;
|
|
|
|
int bmg160_core_probe(struct device *dev, struct regmap *regmap, int irq,
|
|
const char *name);
|
|
void bmg160_core_remove(struct device *dev);
|
|
|
|
#endif /* BMG160_H_ */
|