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