summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer/rm3100.h
blob: c3508218bc773bb7aa09b1c24c482e14d7cea6ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2018 Song Qiang <songqiang1304521@gmail.com>
 */

#ifndef RM3100_CORE_H
#define RM3100_CORE_H

#include <linux/regmap.h>

extern const struct regmap_access_table rm3100_readable_table;
extern const struct regmap_access_table rm3100_writable_table;
extern const struct regmap_access_table rm3100_volatile_table;

int rm3100_common_probe(struct device *dev, struct regmap *regmap, int irq);

#endif /* RM3100_CORE_H */