diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/dw_spi.c | 1 | ||||
-rw-r--r-- | drivers/spi/spidev.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/dw_spi.c b/drivers/spi/dw_spi.c index d256cb00604c..a32aa66d66bf 100644 --- a/drivers/spi/dw_spi.c +++ b/drivers/spi/dw_spi.c | |||
@@ -131,6 +131,7 @@ static const struct file_operations mrst_spi_regs_ops = { | |||
131 | .owner = THIS_MODULE, | 131 | .owner = THIS_MODULE, |
132 | .open = spi_show_regs_open, | 132 | .open = spi_show_regs_open, |
133 | .read = spi_show_regs, | 133 | .read = spi_show_regs, |
134 | .llseek = default_llseek, | ||
134 | }; | 135 | }; |
135 | 136 | ||
136 | static int mrst_spi_debugfs_init(struct dw_spi *dws) | 137 | static int mrst_spi_debugfs_init(struct dw_spi *dws) |
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index ea1bec3c9a13..4e6245e67995 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c | |||
@@ -545,6 +545,7 @@ static const struct file_operations spidev_fops = { | |||
545 | .unlocked_ioctl = spidev_ioctl, | 545 | .unlocked_ioctl = spidev_ioctl, |
546 | .open = spidev_open, | 546 | .open = spidev_open, |
547 | .release = spidev_release, | 547 | .release = spidev_release, |
548 | .llseek = no_llseek, | ||
548 | }; | 549 | }; |
549 | 550 | ||
550 | /*-------------------------------------------------------------------------*/ | 551 | /*-------------------------------------------------------------------------*/ |