projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0253f26
)
spi_ks8995: fix "BUG: key accdaa28 not in .data!"
author
Blomme, Maarten
<Maarten.Blomme@flir.com>
Thu, 2 Mar 2017 12:08:36 +0000
(13:08 +0100)
committer
David S. Miller
<davem@davemloft.net>
Tue, 7 Mar 2017 21:33:23 +0000
(13:33 -0800)
Signed-off-by: Maarten Blomme <Maarten.Blomme@flir.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/spi_ks8995.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/spi_ks8995.c
b/drivers/net/phy/spi_ks8995.c
index
93ffedf
..
aa7209d
100644
(file)
--- 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",