diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/bsg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/bsg.h b/include/linux/bsg.h index 8547b10c388..f415f89e0ac 100644 --- a/include/linux/bsg.h +++ b/include/linux/bsg.h @@ -57,10 +57,10 @@ struct bsg_class_device { struct request_queue *queue; }; -extern int bsg_register_queue(struct request_queue *, const char *); +extern int bsg_register_queue(struct request_queue *, struct device *, const char *); extern void bsg_unregister_queue(struct request_queue *); #else -#define bsg_register_queue(disk, name) (0) +#define bsg_register_queue(disk, dev, name) (0) #define bsg_unregister_queue(disk) do { } while (0) #endif |