Re: [RFC 22/22] tcm_loop: Add multi-fabric Linux/SCSI LLD fabricmodule

From: Dmitry Torokhov
Date: Sun Sep 05 2010 - 16:30:26 EST


On Mon, Aug 30, 2010 at 02:23:23AM -0700, Nicholas A. Bellinger wrote:
> +
> +static void tcm_loop_primary_release(struct device *dev)
> +{
> + return;
> +}
> +
> +static struct device tcm_loop_primary = {
> + .init_name = "tcm_loop_0",
> + .release = tcm_loop_primary_release,
> +};
> +

No, you can not have statically allocated devices and dummy release
functions.

--
Dmitry
--
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/