[balbi-usb:xceiv 3/3] drivers/usb/phy/rcar-phy.c:75:3: error: implicit declaration of function 'iowrite32'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv
head:   1789e52acc90c87484a109d6349eefe63cabb257
commit: 1789e52acc90c87484a109d6349eefe63cabb257 [3/3] usb: phy: add R-Car USB phy driver
config: make ARCH=cris allyesconfig

All error/warnings:

drivers/usb/phy/rcar-phy.c: In function 'rcar_usb_phy_init':
drivers/usb/phy/rcar-phy.c:75:3: error: implicit declaration of function 'iowrite32' [-Werror=implicit-function-declaration]
drivers/usb/phy/rcar-phy.c:83:4: error: implicit declaration of function 'ioread32' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

vim +75 +/iowrite32 drivers/usb/phy/rcar-phy.c

1789e52a Kuninori Morimoto 2012-10-31  69  
1789e52a Kuninori Morimoto 2012-10-31  70  		/*
1789e52a Kuninori Morimoto 2012-10-31  71  		 * USB phy start-up
1789e52a Kuninori Morimoto 2012-10-31  72  		 */
1789e52a Kuninori Morimoto 2012-10-31  73  
1789e52a Kuninori Morimoto 2012-10-31  74  		/* (1) USB-PHY standby release */
1789e52a Kuninori Morimoto 2012-10-31 @75  		iowrite32(PHY_ENB, (reg0 + USBPCTRL1));
1789e52a Kuninori Morimoto 2012-10-31  76  
1789e52a Kuninori Morimoto 2012-10-31  77  		/* (2) start USB-PHY internal PLL */
1789e52a Kuninori Morimoto 2012-10-31  78  		iowrite32(PHY_ENB | PLL_ENB, (reg0 + USBPCTRL1));
1789e52a Kuninori Morimoto 2012-10-31  79  
1789e52a Kuninori Morimoto 2012-10-31  80  		/* (3) USB module status check */
1789e52a Kuninori Morimoto 2012-10-31  81  		for (i = 0; i < 1024; i++) {
1789e52a Kuninori Morimoto 2012-10-31  82  			udelay(10);
1789e52a Kuninori Morimoto 2012-10-31 @83  			val = ioread32(reg0 + USBST);
1789e52a Kuninori Morimoto 2012-10-31  84  			if (val == (ST_ACT | ST_PLL))
1789e52a Kuninori Morimoto 2012-10-31  85  				break;
1789e52a Kuninori Morimoto 2012-10-31  86  		}

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux