]> err.no Git - linux-2.6/commit
Don't define empty struct bsg_class_device if !CONFIG_BLK_DEV_BSG
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Tue, 17 Jul 2007 12:18:47 +0000 (14:18 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 17 Jul 2007 12:18:47 +0000 (14:18 +0200)
commit13bd59a111760bb7cba8dcf17b6b55a0d99d3592
tree36d209321d99ce803ba00fab14d5a1ce3244918f
parent319a7b7fb98f6927d6eedeb627f72f54c377f9ce
Don't define empty struct bsg_class_device if !CONFIG_BLK_DEV_BSG

Don't define an empty struct bsg_class_device if !CONFIG_BLK_DEV_BSG.

It's embedded in struct request_queue, but there we have

#if defined(CONFIG_BLK_DEV_BSG)
struct bsg_class_device bsg_dev;
#endif

anyway.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/bsg.h