linux/drivers/staging
Konrad Zapalowicz 1e8810026b staging: dgnc: Fix externs should be avoided in the .c files
This commit fixes the following checkpatch warnings:

WARNING: externs should be avoided in .c files
    #80: FILE: drivers/staging/dgnc/dgnc_driver.c:80:
        +int            dgnc_init_module(void);
    #81: FILE: drivers/staging/dgnc/dgnc_driver.c:81:
        +void           dgnc_cleanup_module(void);

This was caused by putting the declarations for module init and module
exit fucntions on the top of the file. The fix removes these
declarations plus it also corrects the type of the init/exit functions.

Due to the dependency between init and exit functions the
dgnc_cleanup_module had to be put first.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-16 12:23:13 -07:00
..
android Staging: android: sw_sync.c: Fixed coding style issue. 2014-08-16 12:23:05 -07:00
bcm Staging: bcm: Qos.c: checkpatch.pl fix: Indentation of case-statements fixed 2014-07-30 17:14:24 -07:00
board
comedi staging: comedi: add NI USB-6501 support 2014-08-16 12:23:10 -07:00
cptm1217
dgap staging: dgap: cleanup print messages for dgap driver 2014-08-16 12:23:06 -07:00
dgnc staging: dgnc: Fix externs should be avoided in the .c files 2014-08-16 12:23:13 -07:00
emxx_udc
et131x
ft1000 staging: ft1000: remove procfs entries 2014-07-27 11:45:46 -07:00
fwserial
gdm72xx Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-08-06 09:38:14 -07:00
gdm724x Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-08-06 09:38:14 -07:00
goldfish
gs_fpgaboot
iio
imx-drm staging: imx-drm: fix a blank line coding style issue 2014-08-16 12:23:12 -07:00
line6
lustre drivers: staging: lustre: fix sparse warnings / delete unused function 2014-08-16 12:23:11 -07:00
media Staging driver patches for 3.17-rc1 2014-08-04 18:36:12 -07:00
mt29f_spinand
netlogic
nokia_h4p Staging: nokia_h4p: removed unnecessary return statement in nokia_fw.c 2014-08-16 12:23:13 -07:00
nvec staging/nvec: Use platform_get_irq() 2014-07-30 17:18:47 -07:00
octeon
octeon-usb
olpc_dcon
ozwpan staging: ozwpan: Use list helpers 2014-08-16 12:23:12 -07:00
panel
rtl8188eu Staging: rtl8188eu: Missing a blank line after declarations. 2014-08-16 12:23:11 -07:00
rtl8192e staging: use pci_zalloc_consistent 2014-08-08 15:57:30 -07:00
rtl8192ee staging: rtl8192ee: Fix RT_TRACE #define and uses 2014-08-16 12:23:11 -07:00
rtl8192u staging: rtl8192u: remove unused function. 2014-08-16 12:23:11 -07:00
rtl8712 staging:rtl8712:mlme_linux.c: Adds blank lines to pass checkpatch.pl 2014-07-30 17:05:56 -07:00
rtl8723au staging: rtl8723au: Fix static symbol sparse warning 2014-08-01 14:44:01 -07:00
rtl8821ae staging: rtl8821ae: fix %d confusingly prefixed with 0x in format strings 2014-08-16 12:23:11 -07:00
rts5208 Staging: rts5208: Remove CONFIG_RTS5208_DEBUG option 2014-08-16 12:23:13 -07:00
skein
slicoss staging: slicoss: fix a blank line coding style issue 2014-08-16 12:23:13 -07:00
speakup
ste_rmi4
unisys staging: unisys: uislib: Fixed missing blank line coding style issue 2014-08-16 12:23:08 -07:00
usbip staging: usbip: remove redundant return statements 2014-07-30 16:39:34 -07:00
vme
vt6655 staging: vt6655: iowpa.h: Fix sparse warnings 2014-08-16 12:23:05 -07:00
vt6656
wlan-ng Staging: wlan-ng: fix sparse warning in prism2fw.c 2014-08-16 12:23:13 -07:00
xgifb
xillybus
Kconfig staging: sep: remove driver 2014-07-27 13:17:47 -07:00
Makefile staging: sep: remove driver 2014-07-27 13:17:47 -07:00
staging.c