net: phy: Move is_rgmii helper to phy.h
authorDan Murphy <dmurphy@ti.com>
Mon, 2 May 2016 20:46:00 +0000 (15:46 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 24 May 2016 16:42:05 +0000 (11:42 -0500)
commit3ab72fe8075b137c238665008c356239d1e6bc54
treed26d9cc36ac2fd3615af5f8fdbbe2c0b1aa42d4a
parent085445ca4104906b94093eed1b5e37630ad3b93d
net: phy: Move is_rgmii helper to phy.h

Move the phy_interface_is_rgmii to the phy.h
file for all phy's to be able to use the API.

This now aligns with the Linux kernel based on
commit e463d88c36d42211aa72ed76d32fb8bf37820ef1

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/ti.c
include/phy.h