r8152: fix tx packets accounting
[linux/fpc-iii.git] / drivers / iio / pressure / mpl115.h
blob01b652774dc3d046aff0c3756fab7d1dddb322fe
1 /*
2 * Freescale MPL115A pressure/temperature sensor
4 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net>
5 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com>
7 * This file is subject to the terms and conditions of version 2 of
8 * the GNU General Public License. See the file COPYING in the main
9 * directory of this archive for more details.
12 #ifndef _MPL115_H_
13 #define _MPL115_H_
15 struct mpl115_ops {
16 int (*init)(struct device *);
17 int (*read)(struct device *, u8);
18 int (*write)(struct device *, u8, u8);
21 int mpl115_probe(struct device *dev, const char *name,
22 const struct mpl115_ops *ops);
24 #endif