Sebastien Bourdelin | 5b143d2a | 2017-11-01 13:14:33 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016 - Savoir-faire Linux |
| 3 | * Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> |
| 4 | * |
| 5 | * This file is licensed under the terms of the GNU General Public |
| 6 | * License version 2. This program is licensed "as is" without any |
| 7 | * warranty of any kind, whether express or implied. |
| 8 | */ |
| 9 | |
| 10 | #ifndef _TS_NBUS_H |
| 11 | #define _TS_NBUS_H |
| 12 | |
| 13 | struct ts_nbus; |
| 14 | |
| 15 | extern int ts_nbus_read(struct ts_nbus *ts_nbus, u8 adr, u16 *val); |
| 16 | extern int ts_nbus_write(struct ts_nbus *ts_nbus, u8 adr, u16 val); |
| 17 | |
| 18 | #endif /* _TS_NBUS_H */ |