Re: Unconditional include of <linux/module.h> in aic7xxx driver

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 11 Oct 2001 20:52:38 +0100 (BST)


> unconditional in the aic7xxx driver? Assuming MODULE_LICENSE is
> properly qualified by an #ifdef MODULE, the driver appears to compile
> and function correctly without this include. Are MODULE attributes
> (MODULE_VERSION/AUTHOR/DESCRIPTION/etc.) now supposed to be included in
> static configurations?

It's always been meant to work always included. For non modules it defines
the right do nothing handlers to avoid you having to get ifdefs into the
kernel code
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/