mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00: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>
10 lines
255 B
C
10 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_ */
|