xref: /linux/drivers/iio/magnetometer/rm3100.h (revision 597473720f4dc69749542bfcfed4a927a43d935e)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2018 Song Qiang <songqiang1304521@gmail.com>
4  */
5 
6 #ifndef RM3100_CORE_H
7 #define RM3100_CORE_H
8 
9 #include <linux/regmap.h>
10 
11 extern const struct regmap_access_table rm3100_readable_table;
12 extern const struct regmap_access_table rm3100_writable_table;
13 extern const struct regmap_access_table rm3100_volatile_table;
14 
15 int rm3100_common_probe(struct device *dev, struct regmap *regmap, int irq);
16 
17 #endif /* RM3100_CORE_H */
18