mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 08:31:37 +00:00
807cc4b120
Whithout including 'linux/module.h' spi-ath79 driver fails to compile with the these errors: drivers/spi/spi-ath79.c:273:12: error: 'THIS_MODULE' undeclared here (not in a function) drivers/spi/spi-ath79.c:278:20: error: expected declaration specifiers or '...' before string constant drivers/spi/spi-ath79.c:278:1: warning: data definition has no type or storage class drivers/spi/spi-ath79.c:278:1: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION' drivers/spi/spi-ath79.c:278:20: warning: function declaration isn't a prototype drivers/spi/spi-ath79.c:279:15: error: expected declaration specifiers or '...' before string constant drivers/spi/spi-ath79.c:279:1: warning: data definition has no type or storage class drivers/spi/spi-ath79.c:279:1: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR' drivers/spi/spi-ath79.c:279:15: warning: function declaration isn't a prototype drivers/spi/spi-ath79.c:280:16: error: expected declaration specifiers or '...' before string constant drivers/spi/spi-ath79.c:280:1: warning: data definition has no type or storage class drivers/spi/spi-ath79.c:280:1: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE' drivers/spi/spi-ath79.c:280:16: warning: function declaration isn't a prototype drivers/spi/spi-ath79.c:281:14: error: expected declaration specifiers or '...' before string constant drivers/spi/spi-ath79.c:281:1: warning: data definition has no type or storage class drivers/spi/spi-ath79.c:281:1: warning: type defaults to 'int' in declaration of 'MODULE_ALIAS' drivers/spi/spi-ath79.c:281:14: warning: function declaration isn't a prototype Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
spi-altera.c | ||
spi-ath79.c | ||
spi-atmel.c | ||
spi-au1550.c | ||
spi-bfin5xx.c | ||
spi-bfin-sport.c | ||
spi-bitbang-txrx.h | ||
spi-bitbang.c | ||
spi-butterfly.c | ||
spi-coldfire-qspi.c | ||
spi-davinci.c | ||
spi-dw-mid.c | ||
spi-dw-mmio.c | ||
spi-dw-pci.c | ||
spi-dw.c | ||
spi-dw.h | ||
spi-ep93xx.c | ||
spi-fsl-espi.c | ||
spi-fsl-lib.c | ||
spi-fsl-lib.h | ||
spi-fsl-spi.c | ||
spi-gpio.c | ||
spi-imx.c | ||
spi-lm70llp.c | ||
spi-mpc52xx-psc.c | ||
spi-mpc52xx.c | ||
spi-mpc512x-psc.c | ||
spi-nuc900.c | ||
spi-oc-tiny.c | ||
spi-omap2-mcspi.c | ||
spi-omap-100k.c | ||
spi-omap-uwire.c | ||
spi-orion.c | ||
spi-pl022.c | ||
spi-ppc4xx.c | ||
spi-pxa2xx-pci.c | ||
spi-pxa2xx.c | ||
spi-s3c24xx-fiq.h | ||
spi-s3c24xx-fiq.S | ||
spi-s3c24xx.c | ||
spi-s3c64xx.c | ||
spi-sh-msiof.c | ||
spi-sh-sci.c | ||
spi-sh.c | ||
spi-stmp.c | ||
spi-tegra.c | ||
spi-ti-ssp.c | ||
spi-tle62x0.c | ||
spi-topcliff-pch.c | ||
spi-txx9.c | ||
spi-xilinx.c | ||
spi.c | ||
spidev.c |