bsg: declare request_queue
Subsystems (2)
PATCH 1/30 bsg: declare request_queue
From: Andrew Morton <[email protected]>
include/linux/bsg.h:67: warning: 'struct request_queue' declared inside parameter list include/linux/bsg.h:67: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/bsg.h:71: warning: 'struct request_queue' declared inside parameter list
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/bsg.h | 3 +++ 1 files changed, 3 insertions(+)
include/linux/bsg.h renamed from include/linux/bsg.h~bsg-declare-request_queue +3 -0
@@ -53,6 +53,9 @@ struct sg_io_v4 { #ifdef __KERNEL__ +struct request_queue; +struct device; + #if defined(CONFIG_BLK_DEV_BSG) struct bsg_class_device { struct class_device *class_dev;
_