]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/cmd-filter.c
OMAP: dmtimer: enable all timers to be wakeup events
[linux-2.6-omap-h63xx.git] / block / cmd-filter.c
index e669aed4c6bcd8896434b7625766d8f2772f2ad3..572bbc2f900d89992da0b35d22b16c894e847adf 100644 (file)
 #include <linux/spinlock.h>
 #include <linux/capability.h>
 #include <linux/bitops.h>
+#include <linux/blkdev.h>
 
 #include <scsi/scsi.h>
 #include <linux/cdrom.h>
 
 int blk_verify_command(struct blk_cmd_filter *filter,
-                      unsigned char *cmd, int has_write_perm)
+                      unsigned char *cmd, fmode_t has_write_perm)
 {
        /* root can do any command. */
        if (capable(CAP_SYS_RAWIO))