Fixed the strange compile problems some people had

Reasons varied from typos (_ instead of -) to static declarations that
should have been extern.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@646 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-12-01 00:57:44 +00:00
1 parent 5059c482fd
commit b9831fbfcd
4 files changed
+13 -8

No files matched your search

+2 -2
View File
@@ -185,7 +185,7 @@ static
#else
extern
#endif
int __init i2c_init_i2c_hydra(void)
int __init i2c_init_hydra(void)
{
if (find_hydra() < 0) {
printk("Error while reading PCI configuration\n");
@@ -212,7 +212,7 @@ MODULE_DESCRIPTION("i2c for Apple Hydra Mac I/O");
int init_module(void)
{
return i2c_init_i2c_hydra();
return i2c_init_hydra();
}
void cleanup_module(void)
+2 -2
View File
@@ -216,7 +216,7 @@ static
#else
extern
#endif
int __init i2c_init_i2c_via(void)
int __init i2c_init_via(void)
{
if (find_via() < 0) {
printk("Error while reading PCI configuration\n");
@@ -252,7 +252,7 @@ MODULE_DESCRIPTION("i2c for Via vt82c586b southbridge");
int init_module(void)
{
return i2c_init_i2c_via();
return i2c_init_via();
}
void cleanup_module(void)