Fix char/raw.c to build as module
PATCH 1/1 Fix char/raw.c to build as module
Small fixes that lets the raw driver be built as a module.
drivers/char/raw.c +2 -1
@@ -103,7 +103,7 @@ {struct block_device *bdev = filp->private_data; -return blkdev_ioctl (bdev->bd_inode,NULL , command, arg); +return ioctl_by_bdev (bdev->bd_inode, command, arg); }/*
@@ -241,3 +241,4 @@module_init (raw_init);module_exit (raw_exit); +MODULE_LICENSE ("GPL" );
Signature · 2 lines
Bob Miller Email: [email protected] Open Source Development Lab Phone: 503.626.2455 Ext. 17