Skip to content

Commit

Permalink
phy: miphy28lp: fix sparse warnings
Browse files Browse the repository at this point in the history
Add missing __iomem annotation to the base address
so Sparse doesn't complain.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
  • Loading branch information
Felipe Balbi authored and Kishon Vijay Abraham I committed May 11, 2015
1 parent 87006dd commit 99db11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/phy/phy-miphy28lp.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ static struct miphy28lp_pll_gen pcie_pll_gen[] = {

static inline void miphy28lp_set_reset(struct miphy28lp_phy *miphy_phy)
{
void *base = miphy_phy->base;
void __iomem *base = miphy_phy->base;
u8 val;

/* Putting Macro in reset */
Expand All @@ -391,7 +391,7 @@ static inline void miphy28lp_set_reset(struct miphy28lp_phy *miphy_phy)
static inline void miphy28lp_pll_calibration(struct miphy28lp_phy *miphy_phy,
struct pll_ratio *pll_ratio)
{
void *base = miphy_phy->base;
void __iomem *base = miphy_phy->base;
u8 val;

/* Applying PLL Settings */
Expand Down

0 comments on commit 99db11c

Please sign in to comment.