* [PATCH 1/2] spi_ks8995: fix "BUG: key accdaa28 not in .data!"
@ 2017-03-02 12:08 Maarten Blomme
0 siblings, 0 replies; only message in thread
From: Maarten Blomme @ 2017-03-02 12:08 UTC (permalink / raw)
To: f.fainelli; +Cc: netdev, Blomme, Maarten
From: "Blomme, Maarten" <Maarten.Blomme@flir.com>
Signed-off-by: Maarten Blomme <Maarten.Blomme@flir.com>
---
drivers/net/phy/spi_ks8995.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/spi_ks8995.c b/drivers/net/phy/spi_ks8995.c
index 93ffedf..aa7209d 100644
--- a/drivers/net/phy/spi_ks8995.c
+++ b/drivers/net/phy/spi_ks8995.c
@@ -498,6 +498,7 @@ static int ks8995_probe(struct spi_device *spi)
if (err)
return err;
+ sysfs_attr_init(&ks->regs_attr.attr);
err = sysfs_create_bin_file(&spi->dev.kobj, &ks->regs_attr);
if (err) {
dev_err(&spi->dev, "unable to create sysfs file, err=%d\n",
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-02 12:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-02 12:08 [PATCH 1/2] spi_ks8995: fix "BUG: key accdaa28 not in .data!" Maarten Blomme
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).