All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keerthy <j-keerthy@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr
Date: Thu, 31 Jan 2019 11:00:28 +0530	[thread overview]
Message-ID: <20190131053032.4587-2-j-keerthy@ti.com> (raw)
In-Reply-To: <20190131053032.4587-1-j-keerthy@ti.com>

From: Grygorii Strashko <grygorii.strashko@ti.com>

Use phys_addr_t for mdio_base address to avoid build warnings on arm64.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 drivers/net/ti/cpsw_mdio.c | 2 +-
 drivers/net/ti/cpsw_mdio.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ti/cpsw_mdio.c b/drivers/net/ti/cpsw_mdio.c
index 70f547e6d7..86980612dd 100644
--- a/drivers/net/ti/cpsw_mdio.c
+++ b/drivers/net/ti/cpsw_mdio.c
@@ -125,7 +125,7 @@ u32 cpsw_mdio_get_alive(struct mii_dev *bus)
 	return val & GENMASK(15, 0);
 }
 
-struct mii_dev *cpsw_mdio_init(const char *name, u32 mdio_base,
+struct mii_dev *cpsw_mdio_init(const char *name, phys_addr_t mdio_base,
 			       u32 bus_freq, int fck_freq)
 {
 	struct cpsw_mdio *cpsw_mdio;
diff --git a/drivers/net/ti/cpsw_mdio.h b/drivers/net/ti/cpsw_mdio.h
index 4a76d4e5c5..dbf4a2dcac 100644
--- a/drivers/net/ti/cpsw_mdio.h
+++ b/drivers/net/ti/cpsw_mdio.h
@@ -10,7 +10,7 @@
 
 struct cpsw_mdio;
 
-struct mii_dev *cpsw_mdio_init(const char *name, u32 mdio_base,
+struct mii_dev *cpsw_mdio_init(const char *name, phys_addr_t mdio_base,
 			       u32 bus_freq, int fck_freq);
 void cpsw_mdio_free(struct mii_dev *bus);
 u32 cpsw_mdio_get_alive(struct mii_dev *bus);
-- 
2.17.1

  reply	other threads:[~2019-01-31  5:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31  5:30 [U-Boot] [PATCH 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver Keerthy
2019-01-31  5:30 ` Keerthy [this message]
2019-02-01 15:17   ` [U-Boot] [PATCH 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr Tom Rini
2019-01-31  5:30 ` [U-Boot] [PATCH 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver Keerthy
2019-02-01 15:17   ` Tom Rini
2019-01-31  5:30 ` [U-Boot] [PATCH 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node Keerthy
2019-02-01 15:17   ` Tom Rini
2019-01-31  5:30 ` [U-Boot] [PATCH 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs Keerthy
2019-02-01 15:17   ` Tom Rini
2019-01-31  5:30 ` [U-Boot] [PATCH 5/5] configs: am65x_evm_a53: enable networking Keerthy
2019-02-01 15:17   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190131053032.4587-2-j-keerthy@ti.com \
    --to=j-keerthy@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.