Re: [PATCH] Don't define empty struct bsg_class_device if!CONFIG_BLK_DEV_BSG (was: Re: block/bsg.c)

From: Jens Axboe
Date: Tue Jul 17 2007 - 08:11:04 EST


On Tue, Jul 17 2007, Geert Uytterhoeven wrote:
> 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.

Thanks, applied.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/