summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/leon2
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2015-04-13 13:12:33 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2015-04-17 01:10:30 +0200
commit291c53917de29a805c7ff285407213b9f1408305 (patch)
treee1c5ba08ed9a8ad613721516f4b2d4fb7df8b818 /c/src/lib/libbsp/sparc/leon2
parentDRVMGR: clean-up DRV_OPS_NUM (diff)
downloadrtems-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.c4
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