summaryrefslogtreecommitdiffstats
path: root/cpukit/libdrvmgr/drvmgr_print.c
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2015-04-13 10:49:47 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2015-04-17 01:10:29 +0200
commitbb2f2200aa144f96bdb3172bdaedf4ec82eac82b (patch)
treef33698a87c0ed6d6c5af74d7e064178b2c3c2e03 /cpukit/libdrvmgr/drvmgr_print.c
parentDRVMGR: updated README (diff)
downloadrtems-bb2f2200aa144f96bdb3172bdaedf4ec82eac82b.tar.bz2
DRVMGR: renamed private drv_mgr and its struct name
Diffstat (limited to 'cpukit/libdrvmgr/drvmgr_print.c')
-rw-r--r--cpukit/libdrvmgr/drvmgr_print.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libdrvmgr/drvmgr_print.c b/cpukit/libdrvmgr/drvmgr_print.c
index 80c1e6b061..206b9fe2bc 100644
--- a/cpukit/libdrvmgr/drvmgr_print.c
+++ b/cpukit/libdrvmgr/drvmgr_print.c
@@ -39,7 +39,7 @@ static int print_dev_found(struct drvmgr_dev *dev, void *arg)
void drvmgr_print_devs(unsigned int options)
{
- struct rtems_driver_manager *mgr = &drv_mgr;
+ struct drvmgr *mgr = &drvmgr;
char *parg;
/* Print Drivers */
@@ -104,7 +104,7 @@ void drvmgr_print_topo(void)
/* Print the memory usage */
void drvmgr_print_mem(void)
{
- struct rtems_driver_manager *mgr = &drv_mgr;
+ struct drvmgr *mgr = &drvmgr;
struct drvmgr_bus *bus;
struct drvmgr_dev *dev;
struct drvmgr_drv *drv;
@@ -180,7 +180,7 @@ void drvmgr_print_mem(void)
/* Print the memory usage */
void drvmgr_summary(void)
{
- struct rtems_driver_manager *mgr = &drv_mgr;
+ struct drvmgr *mgr = &drvmgr;
struct drvmgr_bus *bus;
struct drvmgr_dev *dev;
struct drvmgr_drv *drv;
@@ -420,7 +420,7 @@ void drvmgr_info_devs_on_bus(struct drvmgr_bus *bus, unsigned int options)
void drvmgr_info_devs(unsigned int options)
{
- struct rtems_driver_manager *mgr = &drv_mgr;
+ struct drvmgr *mgr = &drvmgr;
struct drvmgr_dev *dev;
/* Print device information of all devices and their child devices */
@@ -431,7 +431,7 @@ void drvmgr_info_devs(unsigned int options)
void drvmgr_info_drvs(unsigned int options)
{
- struct rtems_driver_manager *mgr = &drv_mgr;
+ struct drvmgr *mgr = &drvmgr;
struct drvmgr_drv *drv;
drv = DRV_LIST_HEAD(&mgr->drivers);
@@ -444,7 +444,7 @@ void drvmgr_info_drvs(unsigned int options)
void drvmgr_info_buses(unsigned int options)
{
- struct rtems_driver_manager *mgr = &drv_mgr;
+ struct drvmgr *mgr = &drvmgr;
struct drvmgr_bus *bus;
bus = BUS_LIST_HEAD(&mgr->buses[DRVMGR_LEVEL_MAX]);