diff mbox

spi: spidev: Add 32 bit compat ioctl()

Message ID 1294759972-10028-1-git-send-email-walle@corscience.de (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Bernhard Walle Jan. 11, 2011, 3:32 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 4e6245e..bb24ad8 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -543,6 +543,7 @@  static const struct file_operations spidev_fops = {
 	.write =	spidev_write,
 	.read =		spidev_read,
 	.unlocked_ioctl = spidev_ioctl,
+	.compat_ioctl = spidev_ioctl,
 	.open =		spidev_open,
 	.release =	spidev_release,
 	.llseek =	no_llseek,