Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31369
b: refs/heads/master
c: 672b271
h: refs/heads/master
i:
  31367: bec38bf
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jun 30, 2006
1 parent 49a9ee6 commit b8ffe1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e09793bb9182115e6f5d15fd6571ac2b72d7a08a
refs/heads/master: 672b2714ae57af16fe7d760dc4e0918a7a6cb0fa
17 changes: 2 additions & 15 deletions trunk/drivers/char/istallion.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ static char *stli_brdnames[] = {

/*****************************************************************************/

#ifdef MODULE
/*
* Define some string labels for arguments passed from the module
* load line. These allow for easy board definitions, and easy
Expand Down Expand Up @@ -381,8 +380,6 @@ MODULE_PARM_DESC(board2, "Board 2 config -> name[,ioaddr[,memaddr]");
module_param_array(board3, charp, NULL, 0);
MODULE_PARM_DESC(board3, "Board 3 config -> name[,ioaddr[,memaddr]");

#endif

/*
* Set up a default memory address table for EISA board probing.
* The default addresses are all bellow 1Mbyte, which has to be the
Expand Down Expand Up @@ -643,14 +640,8 @@ static unsigned int stli_baudrates[] = {
* Prototype all functions in this driver!
*/

#ifdef MODULE
static void stli_argbrds(void);
static int stli_parsebrd(stlconf_t *confp, char **argp);

static unsigned long stli_atol(char *str);
#endif

int stli_init(void);
static int stli_init(void);
static int stli_open(struct tty_struct *tty, struct file *filp);
static void stli_close(struct tty_struct *tty, struct file *filp);
static int stli_write(struct tty_struct *tty, const unsigned char *buf, int count);
Expand Down Expand Up @@ -786,8 +777,6 @@ static int stli_timeron;

static struct class *istallion_class;

#ifdef MODULE

/*
* Loadable module initialization stuff.
*/
Expand Down Expand Up @@ -954,8 +943,6 @@ static int stli_parsebrd(stlconf_t *confp, char **argp)
return(1);
}

#endif

/*****************************************************************************/

static int stli_open(struct tty_struct *tty, struct file *filp)
Expand Down Expand Up @@ -4694,7 +4681,7 @@ static struct tty_operations stli_ops = {

/*****************************************************************************/

int __init stli_init(void)
static int __init stli_init(void)
{
int i;
printk(KERN_INFO "%s: version %s\n", stli_drvtitle, stli_drvversion);
Expand Down

0 comments on commit b8ffe1c

Please sign in to comment.