diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-13 13:12:33 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:30 +0200 |
commit | 291c53917de29a805c7ff285407213b9f1408305 (patch) | |
tree | e1c5ba08ed9a8ad613721516f4b2d4fb7df8b818 /c/src/lib/libbsp/sparc/leon2 | |
parent | DRVMGR: clean-up DRV_OPS_NUM (diff) | |
download | rtems-291c53917de29a805c7ff285407213b9f1408305.tar.bz2 |
DRVMGR: remove struct driver registration func
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/startup/bsppredriver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/startup/bsppredriver.c b/c/src/lib/libbsp/sparc/leon2/startup/bsppredriver.c index 2e41b72ec4..ad3694dfbd 100644 --- a/c/src/lib/libbsp/sparc/leon2/startup/bsppredriver.c +++ b/c/src/lib/libbsp/sparc/leon2/startup/bsppredriver.c @@ -31,9 +31,9 @@ * the devmgr_confdefs.h. No specifc drivers needed by BSP since IRQ/TIMER/UART * is not drvmgr drivers. */ -struct drvmgr_drv_reg_func drvmgr_drivers[] __attribute__((weak)) = +drvmgr_drv_reg_func drvmgr_drivers[] __attribute__((weak)) = { - {NULL} /* End array with NULL */ + NULL /* End array with NULL */ }; /* Defines what cores are avilable on the bus in addition to the standard |