From: kbuild test robot <lkp@intel.com>
To: Richard Cochran <richardcochran@gmail.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
David Miller <davem@davemloft.net>,
devicetree@vger.kernel.org, Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
Jacob Keller <jacob.e.keller@intel.com>,
Mark Rutland <mark.rutland@arm.com>,
Miroslav Lichvar <mlichvar@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Willem de Bruijn <willemb@google.com>
Subject: [RFC PATCH] ptp: ines_ptp_probe_channel() can be static
Date: Sat, 1 Jun 2019 04:22:23 +0800 [thread overview]
Message-ID: <20190531202223.GA97559@lkp-kbuild06> (raw)
In-Reply-To: <297281011d671dafdced87755fd6e2bd41c6d141.1559281985.git.richardcochran@gmail.com>
Fixes: 49268f31cc1f ("ptp: Add a driver for InES time stamping IP core.")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
ptp_ines.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/ptp/ptp_ines.c b/drivers/ptp/ptp_ines.c
index 59cb3f1..52c1e85 100644
--- a/drivers/ptp/ptp_ines.c
+++ b/drivers/ptp/ptp_ines.c
@@ -753,8 +753,8 @@ static u8 tag_to_msgtype(u8 tag)
return 0xf;
}
-struct mii_timestamper *ines_ptp_probe_channel(struct device *device,
- unsigned int index)
+static struct mii_timestamper *ines_ptp_probe_channel(struct device *device,
+ unsigned int index)
{
struct device_node *node = device->of_node;
struct ines_port *port;
@@ -782,7 +782,7 @@ static void ines_ptp_release_channel(struct device *device,
{
}
-struct mii_timestamping_ctrl ines_ctrl = {
+static struct mii_timestamping_ctrl ines_ctrl = {
.probe_channel = ines_ptp_probe_channel,
.release_channel = ines_ptp_release_channel,
};
next prev parent reply other threads:[~2019-05-31 20:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 5:56 [PATCH V5 net-next 0/6] Peer to Peer One-Step time stamping Richard Cochran
2019-05-31 5:56 ` [PATCH V5 net-next 1/6] net: Introduce peer to peer one step PTP " Richard Cochran
2019-05-31 5:56 ` [PATCH V5 net-next 2/6] net: Introduce a new MII time stamping interface Richard Cochran
2019-05-31 5:56 ` [PATCH V5 net-next 3/6] net: Add a layer for non-PHY MII time stamping drivers Richard Cochran
2019-05-31 5:56 ` [PATCH V5 net-next 4/6] dt-bindings: ptp: Introduce MII time stamping devices Richard Cochran
2019-07-08 21:38 ` Rob Herring
2019-07-09 5:11 ` Richard Cochran
2019-05-31 5:56 ` [PATCH V5 net-next 5/6] net: mdio: of: Register discovered MII time stampers Richard Cochran
2019-05-31 17:24 ` kbuild test robot
2019-05-31 17:24 ` [RFC PATCH] net: mdio: of: of_find_mii_timestamper() can be static kbuild test robot
2019-05-31 5:56 ` [PATCH V5 net-next 6/6] ptp: Add a driver for InES time stamping IP core Richard Cochran
2019-05-31 20:22 ` kbuild test robot
2019-05-31 20:22 ` kbuild test robot [this message]
2019-05-31 21:54 ` [PATCH V5 net-next 0/6] Peer to Peer One-Step time stamping David Miller
2019-06-01 0:13 ` David Miller
2019-06-01 5:09 ` Richard Cochran
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=20190531202223.GA97559@lkp-kbuild06 \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=jacob.e.keller@intel.com \
--cc=kbuild-all@01.org \
--cc=mark.rutland@arm.com \
--cc=mlichvar@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=robh+dt@kernel.org \
--cc=willemb@google.com \
/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;
as well as URLs for NNTP newsgroup(s).