Commit bc927c63 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] janitor: add static/exit to some modules

From: Domen Puncer <domen@coderock.org>

(2 statics added by rddunlap)
parent 122a6c72
......@@ -269,7 +269,7 @@ MODULE_AUTHOR("see local file");
MODULE_DESCRIPTION("support of ALI 14XX IDE chipsets");
MODULE_LICENSE("GPL");
int __init ali14xx_mod_init(void)
static int __init ali14xx_mod_init(void)
{
/* auto-detect IDE controller port */
if (findPort())
......@@ -287,7 +287,7 @@ int __init ali14xx_mod_init(void)
}
module_init(ali14xx_mod_init);
void __init ali14xx_mod_exit(void)
static void __exit ali14xx_mod_exit(void)
{
ali14xx_release();
}
......
......@@ -173,7 +173,7 @@ MODULE_AUTHOR("See Local File");
MODULE_DESCRIPTION("support of DTC-2278 VLB IDE chipsets");
MODULE_LICENSE("GPL");
int __init dtc2278_mod_init(void)
static int __init dtc2278_mod_init(void)
{
probe_dtc2278();
if (ide_hwifs[0].chipset != ide_dtc2278 &&
......@@ -185,7 +185,7 @@ int __init dtc2278_mod_init(void)
}
module_init(dtc2278_mod_init);
void __init dtc2278_mod_exit(void)
static void __exit dtc2278_mod_exit(void)
{
dtc2278_release();
}
......
......@@ -330,7 +330,7 @@ void ht6560b_release (void)
release_region(HT_CONFIG_PORT, 1);
}
int __init ht6560b_mod_init(void)
static int __init ht6560b_mod_init(void)
{
int t;
......@@ -391,7 +391,7 @@ MODULE_DESCRIPTION("HT-6560B EIDE-controller support");
MODULE_LICENSE("GPL");
#ifdef MODULE
void __init ht6560b_mod_exit(void)
static void __exit ht6560b_mod_exit(void)
{
ht6560b_release();
}
......
......@@ -326,7 +326,7 @@ int ide_probe_for_pdc4030(void)
#endif
}
void __init release_pdc4030(ide_hwif_t *hwif, ide_hwif_t *mate)
static void __exit release_pdc4030(ide_hwif_t *hwif, ide_hwif_t *mate)
{
hwif->chipset = ide_unknown;
hwif->selectproc = NULL;
......@@ -369,7 +369,7 @@ MODULE_AUTHOR("Peter Denison");
MODULE_DESCRIPTION("Support of Promise 4030 VLB series IDE chipsets");
MODULE_LICENSE("GPL");
int __init pdc4030_mod_init(void)
static int __init pdc4030_mod_init(void)
{
if (enable_promise_support == 0)
enable_promise_support = 1;
......@@ -380,7 +380,7 @@ int __init pdc4030_mod_init(void)
}
module_init(pdc4030_mod_init);
void __init pdc4030_mod_exit(void)
static void __exit pdc4030_mod_exit(void)
{
unsigned int index;
ide_hwif_t *hwif;
......
......@@ -360,7 +360,7 @@ void __init qd_setup (int unit, int base, int config, unsigned int data0, unsign
*
* called to unsetup an ata channel : back to default values, unlinks tuning
*/
void __init qd_unsetup (int unit)
static void __exit qd_unsetup (int unit)
{
ide_hwif_t *hwif = &ide_hwifs[unit];
u8 config = hwif->config_data;
......@@ -495,7 +495,7 @@ MODULE_AUTHOR("Samuel Thibault");
MODULE_DESCRIPTION("support of qd65xx vlb ide chipset");
MODULE_LICENSE("GPL");
int __init qd65xx_mod_init(void)
static int __init qd65xx_mod_init(void)
{
if (qd_probe(0x30)) qd_probe(0xb0);
if (ide_hwifs[0].chipset != ide_qd65xx &&
......@@ -505,7 +505,7 @@ int __init qd65xx_mod_init(void)
}
module_init(qd65xx_mod_init);
void __init qd65xx_mod_exit(void)
static void __exit qd65xx_mod_exit(void)
{
qd_unsetup(0);
qd_unsetup(1);
......
......@@ -207,7 +207,7 @@ MODULE_AUTHOR("Wolfram Podien");
MODULE_DESCRIPTION("Support for UMC 8672 IDE chipset");
MODULE_LICENSE("GPL");
int __init umc8672_mod_init(void)
static int __init umc8672_mod_init(void)
{
if (probe_umc8672())
return -ENODEV;
......@@ -220,7 +220,7 @@ int __init umc8672_mod_init(void)
}
module_init(umc8672_mod_init);
void __init umc8672_mod_exit(void)
static void __exit umc8672_mod_exit(void)
{
umc8672_release();
}
......
......@@ -209,7 +209,7 @@ static int l4_calibrate(struct gameport *gameport, int *axes, int *max)
return 0;
}
int __init l4_init(void)
static int __init l4_init(void)
{
int cal[4] = {255,255,255,255};
int i, j, rev, cards = 0;
......@@ -286,7 +286,7 @@ int __init l4_init(void)
return 0;
}
void __init l4_exit(void)
static void __exit l4_exit(void)
{
int i;
int cal[4] = {59, 59, 59, 59};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment