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
11extern const struct regmap_access_table rm3100_readable_table;
12extern const struct regmap_access_table rm3100_writable_table;
13extern const struct regmap_access_table rm3100_volatile_table;
14
15int rm3100_common_probe(struct device *dev, struct regmap *regmap, int irq);
16
17#endif /* RM3100_CORE_H */
18

source code of linux/drivers/iio/magnetometer/rm3100.h