const poison
submitted by: john wehle
This commit is contained in:
parent
6c818b5fa3
commit
07defc61a9
@ -91,7 +91,7 @@ METHOD int read {
|
||||
#
|
||||
METHOD int write {
|
||||
device_t dev;
|
||||
char *buf;
|
||||
const char *buf;
|
||||
int len;
|
||||
int *bytes;
|
||||
int timeout;
|
||||
|
@ -234,7 +234,7 @@ iicbus_stop(device_t bus)
|
||||
* iicbus_start() call
|
||||
*/
|
||||
int
|
||||
iicbus_write(device_t bus, char *buf, int len, int *sent, int timeout)
|
||||
iicbus_write(device_t bus, const char *buf, int len, int *sent, int timeout)
|
||||
{
|
||||
struct iicbus_softc *sc = (struct iicbus_softc *)device_get_softc(bus);
|
||||
|
||||
|
@ -109,7 +109,7 @@ extern int iicbus_started(device_t);
|
||||
extern int iicbus_start(device_t, u_char, int);
|
||||
extern int iicbus_stop(device_t);
|
||||
extern int iicbus_repeated_start(device_t, u_char, int);
|
||||
extern int iicbus_write(device_t, char *, int, int *, int);
|
||||
extern int iicbus_write(device_t, const char *, int, int *, int);
|
||||
extern int iicbus_read(device_t, char *, int, int *, int, int);
|
||||
|
||||
/* single byte read/write functions, start/stop not managed */
|
||||
|
Loading…
x
Reference in New Issue
Block a user