From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:15:07 +0000
Subject: [PATCH] change system file
---
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