Private
Public Access
2
0

i2c.c: fix return type in _init function

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-04-29 14:01:30 +01:00
parent 77ee9ffff5
commit 6ad98d23e7

View File

@@ -37,7 +37,7 @@ maa_i2c_init()
if ((dev->fh = open("/dev/i2c-0", O_RDWR)) < 1) {
fprintf(stderr, "Failed to open requested i2c port");
}
return MAA_SUCCESS;
return dev;
}
void