backports: fix header of phy_mii_ioctl()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 18 Jan 2014 23:41:38 +0000 (00:41 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 19 Jan 2014 16:47:13 +0000 (17:47 +0100)
commited058e9c27b8c188f182ce8594e98195aa700e1f
tree4eebdcb22ba50b3b7607cacb662adb83f0d9d6cf
parent72f5d656e0d0877ccbee0b4f7507a0df72b9cb5d
backports: fix header of phy_mii_ioctl()

On kernel versions < 2.6.36 phy_mii_ioctl() gets struct mii_ioctl_data
as second parameter and on more recent kernel versions it takes struct
ifreq. This patch converts one version to the other.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/phy.h