GRCTM: fix build warnings

This commit is contained in:
Daniel Hellstrom
2015-02-11 09:20:40 +01:00
parent 60d392b7a5
commit 3823f5c241
2 changed files with 4 additions and 1 deletions

View File

@@ -162,6 +162,9 @@ void grctm_set_fs_incr(void *grctm, int incr);
/* Set ET increment */
void grctm_set_et_incr(void *grctm, int incr);
/* Get register base address */
struct grctm_regs *grctm_get_regs(void *grctm);
/* Register the GRCTM driver to Driver Manager */
extern void grctm_register(void);

View File

@@ -343,7 +343,7 @@ void grctm_int_register(void *grctm, grctm_isr_t func, void *data)
/*** INTERFACE TO DRIVER MANAGER ***/
int grctm_init2(struct drvmgr_dev *dev)
static int grctm_init2(struct drvmgr_dev *dev)
{
struct amba_dev_info *ambadev;
struct ambapp_core *pnpinfo;