![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Freescale MPL115A pressure/temperature sensor 0004 * 0005 * Copyright (c) 2014 Peter Meerwald <pmeerw@pmeerw.net> 0006 * Copyright (c) 2016 Akinobu Mita <akinobu.mita@gmail.com> 0007 */ 0008 0009 #ifndef _MPL115_H_ 0010 #define _MPL115_H_ 0011 0012 struct mpl115_ops { 0013 int (*init)(struct device *); 0014 int (*read)(struct device *, u8); 0015 int (*write)(struct device *, u8, u8); 0016 }; 0017 0018 int mpl115_probe(struct device *dev, const char *name, 0019 const struct mpl115_ops *ops); 0020 0021 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |