From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/include/linux/bsg.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/bsg.h b/kernel/include/linux/bsg.h index b6c5549..dac37b6 100644 --- a/kernel/include/linux/bsg.h +++ b/kernel/include/linux/bsg.h @@ -6,6 +6,7 @@ struct request; +#ifdef CONFIG_BLK_DEV_BSG struct bsg_ops { int (*check_proto)(struct sg_io_v4 *hdr); int (*fill_hdr)(struct request *rq, struct sg_io_v4 *hdr, @@ -21,7 +22,6 @@ const struct bsg_ops *ops; }; -#ifdef CONFIG_BLK_DEV_BSG int bsg_register_queue(struct request_queue *q, struct device *parent, const char *name, const struct bsg_ops *ops); int bsg_scsi_register_queue(struct request_queue *q, struct device *parent); -- Gitblit v1.6.2