Commit 007eb11a authored by Alessandro Rubini's avatar Alessandro Rubini

warnings: trivial fix for dev/sdb.c

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent f04c03d1
#include <string.h>
#include <wrc.h>
#include "hw/memlayout.h" #include "hw/memlayout.h"
#define SDB_INTERCONNET 0x00 #define SDB_INTERCONNET 0x00
...@@ -117,7 +119,7 @@ static void print_devices_deep(unsigned int base, unsigned int sdb) ...@@ -117,7 +119,7 @@ static void print_devices_deep(unsigned int base, unsigned int sdb)
static unsigned char *find_device(unsigned int devid) static unsigned char *find_device(unsigned int devid)
{ {
find_device_deep(0, SDB_ADDRESS, devid); return find_device_deep(0, SDB_ADDRESS, devid);
} }
void sdb_print_devices(void) void sdb_print_devices(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment