rockchip: inno-phy: Fix a compile warning

In file included from drivers/phy/phy-rockchip-inno-usb2.c:8:0:

./arch/arm/include/asm/arch/clock.h:93:29: warning: 'struct udevice'
declared inside parameter list [enabled by default]

./arch/arm/include/asm/arch/clock.h:93:29: warning: its scope is only
this definition or declaration, which is probably not what you want
[enabled by default]

Change-Id: I2a17d469c70897b2a2024c71054b72c76b409f4e
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Kever Yang 2017-11-09 12:40:07 +08:00
parent de2f83b25a
commit f90455d7ba
1 changed files with 2 additions and 2 deletions

View File

@ -4,12 +4,12 @@
* SPDX-License-Identifier: GPL-2.0+
*/
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <common.h>
#include <dm.h>
#include <generic-phy.h>
#include <syscon.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#define U2PHY_BIT_WRITEABLE_SHIFT 16
#define CHG_DCD_MAX_RETRIES 6