]> git.baikalelectronics.ru Git - uboot.git/commit
phy: Fix warning due to missing definition of structure
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 16 Aug 2018 12:37:03 +0000 (14:37 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 28 Aug 2018 09:00:18 +0000 (11:00 +0200)
commit6b8d26f4399b7e8701cf6bf7225c8c0071c859b6
treee9fb2451e969e32a1f7e3b49cd98334cf3ee5ae9
parentf0e1e6921cc8ba0609eca69e2300d250d7d7ade5
phy: Fix warning due to missing definition of structure

Fix this sort of warning if generic-phy.h is included:

include/generic-phy.h:52:42: warning: ‘struct ofnode_phandle_args’ declared inside parameter list will not be visible outside of this definition or declaration
  int (*of_xlate)(struct phy *phy, struct ofnode_phandle_args *args);

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
include/generic-phy.h