From: Stefan Christ <s.christ@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH v2 3/3] net: fec: fix indentation and whitspaces
Date: Wed, 18 Nov 2015 10:08:45 +0100 [thread overview]
Message-ID: <1447837725-21625-3-git-send-email-s.christ@phytec.de> (raw)
In-Reply-To: <1447837725-21625-1-git-send-email-s.christ@phytec.de>
Signed-off-by: Stefan Christ <s.christ@phytec.de>
---
drivers/net/fec_imx.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 70087ad..5418034 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -259,7 +259,7 @@ static int fec_set_hwaddr(struct eth_device *dev, const unsigned char *mac)
writel((mac[0] << 24) + (mac[1] << 16) + (mac[2] << 8) + mac[3], fec->regs + FEC_PADDR1);
writel((mac[4] << 24) + (mac[5] << 16) + 0x8808, fec->regs + FEC_PADDR2);
- return 0;
+ return 0;
}
static int fec_init(struct eth_device *dev)
@@ -647,8 +647,8 @@ static int fec_probe_dt(struct device_d *dev, struct fec_priv *fec)
#endif
static int fec_probe(struct device_d *dev)
{
- struct fec_platform_data *pdata = (struct fec_platform_data *)dev->platform_data;
- struct eth_device *edev;
+ struct fec_platform_data *pdata = (struct fec_platform_data *)dev->platform_data;
+ struct eth_device *edev;
struct fec_priv *fec;
void *base;
int ret;
@@ -778,7 +778,7 @@ static __maybe_unused struct of_device_id imx_fec_dt_ids[] = {
}, {
.compatible = "fsl,imx6q-fec",
.data = (void *)FEC_TYPE_IMX6,
- }, {
+ }, {
.compatible = "fsl,imx6sx-fec",
.data = (void *)FEC_TYPE_IMX6,
}, {
--
1.9.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2015-11-18 9:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 9:08 [PATCH v2 1/3] net: fec: set phy reset time to 1ms Stefan Christ
2015-11-18 9:08 ` [PATCH v2 2/3] net: fec: implement dtb property phy-reset-duration Stefan Christ
2015-11-18 9:15 ` Stefan Christ
2015-11-18 9:08 ` Stefan Christ [this message]
2015-11-19 7:33 ` [PATCH v2 1/3] net: fec: set phy reset time to 1ms Sascha Hauer
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=1447837725-21625-3-git-send-email-s.christ@phytec.de \
--to=s.christ@phytec.de \
--cc=barebox@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox