]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - block/bsg.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
[linux.git] / block / bsg.c
index f306853c6b0891a1f59a4643b448b4a03ebb265e..d7bae94b64d95b96cdde1e1ce89543f839f83954 100644 (file)
@@ -1,13 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * bsg.c - block layer implementation of the sg v4 interface
- *
- * Copyright (C) 2004 Jens Axboe <axboe@suse.de> SUSE Labs
- * Copyright (C) 2004 Peter M. Jones <pjones@redhat.com>
- *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License version 2.  See the file "COPYING" in the main directory of this
- *  archive for more details.
- *
  */
 #include <linux/module.h>
 #include <linux/init.h>
@@ -389,6 +382,7 @@ static const struct file_operations bsg_fops = {
        .open           =       bsg_open,
        .release        =       bsg_release,
        .unlocked_ioctl =       bsg_ioctl,
+       .compat_ioctl   =       compat_ptr_ioctl,
        .owner          =       THIS_MODULE,
        .llseek         =       default_llseek,
 };