leon: substitute printf with printk in driver init

This commit is contained in:
Daniel Hellstrom
2018-01-23 10:12:36 +01:00
parent 68a0012470
commit 56a7540cd8
14 changed files with 60 additions and 60 deletions

View File

@@ -719,7 +719,7 @@ STATIC int spictrl_libi2c_read_bytes(rtems_libi2c_bus_t *bushdl,
DBG("SPICTRL: spictrl_libi2c_read_bytes %d\n", nbytes);
ret = spictrl_read_write(priv, bytes, NULL, nbytes);
if ( ret < 0 ) {
printf("SPICTRL: Error Reading\n");
printk("SPICTRL: Error Reading\n");
}
#ifdef DEBUG
else {