__setup function should be static
This commit is contained in:
parent
d88fc0d150
commit
6f77718f35
|
@ -5,6 +5,9 @@
|
|||
*
|
||||
*
|
||||
* $Log$
|
||||
* Revision 2.31 1999/08/25 16:47:43 keil
|
||||
* Support new __setup; allow to add FEATURES after register_isdn
|
||||
*
|
||||
* Revision 2.30 1999/08/05 20:43:14 keil
|
||||
* ISAR analog modem support
|
||||
*
|
||||
|
@ -552,8 +555,8 @@ HiSax_mod_inc_use_count(void)
|
|||
#else
|
||||
#ifdef COMPAT_HAS_NEW_SETUP
|
||||
#define MAX_ARG (HISAX_MAX_CARDS*5)
|
||||
__initfunc(int
|
||||
HiSax_setup(char *line))
|
||||
static int __init
|
||||
HiSax_setup(char *line)
|
||||
{
|
||||
int i, j, argc;
|
||||
int ints[MAX_ARG + 1];
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.58 1999/08/25 16:44:17 keil
|
||||
* Support for new __setup function
|
||||
*
|
||||
* Revision 1.57 1999/07/06 16:15:30 detabc
|
||||
* remove unused messages
|
||||
*
|
||||
|
@ -1848,7 +1851,7 @@ icn_addcard(int port, char *id1, char *id2)
|
|||
#else
|
||||
#ifdef COMPAT_HAS_NEW_SETUP
|
||||
#include <linux/init.h>
|
||||
int
|
||||
static int __init
|
||||
icn_setup(char *line)
|
||||
{
|
||||
char *p, *str;
|
||||
|
|
|
@ -105,7 +105,7 @@ void cleanup_module(void)
|
|||
#ifdef COMPAT_HAS_NEW_SETUP
|
||||
#define MAX_PARA (MAX_PCBIT_CARDS * 2)
|
||||
#include <linux/init.h>
|
||||
int pcbit_setup(char *line)
|
||||
static int __init pcbit_setup(char *line)
|
||||
{
|
||||
int i, j, argc;
|
||||
char *str;
|
||||
|
|
Loading…
Reference in New Issue