forked from Imagelibrary/rtems
LEON: B1553BRM driver warnings fixes
This commit is contained in:
@@ -1484,11 +1484,8 @@ static void b1553brm_interrupt(void *arg)
|
||||
void b1553brm_print_dev(struct drvmgr_dev *dev, int options)
|
||||
{
|
||||
brm_priv *pDev = dev->priv;
|
||||
struct amba_dev_info *devinfo;
|
||||
struct brm_reg *regs = pDev->regs;
|
||||
|
||||
devinfo = (struct amba_dev_info *)pDev->dev->businfo;
|
||||
|
||||
/* Print */
|
||||
printf("--- B1553BRM[%d] %s ---\n", pDev->minor, pDev->devName);
|
||||
printf(" REGS: 0x%x\n", (unsigned int)pDev->regs);
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
#ifndef __B1553BRM_H__
|
||||
#define __B1553BRM_H__
|
||||
|
||||
#include <drvmgr/drvmgr.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -162,6 +164,12 @@ void b1553brm_register_drv(void);
|
||||
*/
|
||||
extern unsigned short b1553brm_rt_cmd_legalize[16];
|
||||
|
||||
/* Print information about all BRM devices handled by this driver */
|
||||
void b1553brm_print(int options);
|
||||
|
||||
/* Print information about one BRM device */
|
||||
void b1553brm_print_dev(struct drvmgr_dev *dev, int options);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user