kernel/include/linux/bsg.h
.. .. @@ -6,6 +6,7 @@ 6 6 7 7 struct request; 8 8 9 +#ifdef CONFIG_BLK_DEV_BSG9 10 struct bsg_ops { 10 11 int (*check_proto)(struct sg_io_v4 *hdr); 11 12 int (*fill_hdr)(struct request *rq, struct sg_io_v4 *hdr, .. .. @@ -21,7 +22,6 @@ 21 22 const struct bsg_ops *ops; 22 23 }; 23 24 24 -#ifdef CONFIG_BLK_DEV_BSG25 25 int bsg_register_queue(struct request_queue *q, struct device *parent, 26 26 const char *name, const struct bsg_ops *ops); 27 27 int bsg_scsi_register_queue(struct request_queue *q, struct device *parent);