]> asedeno.scripts.mit.edu Git - linux.git/commit
phy: berlin-sata: Move PHY_BASE into private data struct
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 30 Oct 2014 10:21:24 +0000 (11:21 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 13 Nov 2014 06:19:43 +0000 (11:49 +0530)
commita98d41d6a1204b61bac03bb3eabdbc2fe93b495d
tree1e2c853c7b63141b8da96aec148060860c9ce782
parent6827a46f59942208d45e0c40e53f649bfc7792ed
phy: berlin-sata: Move PHY_BASE into private data struct

Currently, Berlin SATA PHY driver assumes PHY_BASE address being
constant. While this PHY_BASE is correct for BG2Q, older BG2 PHY_BASE
is different. Prepare the driver for BG2 support by moving the phy_base
into private driver data.

Acked-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-berlin-sata.c