Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104701
b: refs/heads/master
c: 88e8824
h: refs/heads/master
i:
  104699: adcdc4a
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Jul 22, 2008
1 parent ea11a27 commit 7c30813
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 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: e129deff3d979df1ad3d0a6756c90932c0a0a102
refs/heads/master: 88e882497d154dfb7c341902c079c9daeca1626f
15 changes: 13 additions & 2 deletions trunk/drivers/char/epca.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ static void pc_throttle(struct tty_struct *tty);
static void pc_unthrottle(struct tty_struct *tty);
static int pc_send_break(struct tty_struct *tty, int msec);
static void setup_empty_event(struct tty_struct *tty, struct channel *ch);
static void epca_setup(char *, int *);

static int pc_write(struct tty_struct *, const unsigned char *, int);
static int pc_init(void);
Expand Down Expand Up @@ -2513,7 +2512,8 @@ static void setup_empty_event(struct tty_struct *tty, struct channel *ch)
memoff(ch);
}

static void epca_setup(char *str, int *ints)
#ifndef MODULE
static void __init epca_setup(char *str, int *ints)
{
struct board_info board;
int index, loop, last;
Expand Down Expand Up @@ -2767,6 +2767,17 @@ static void epca_setup(char *str, int *ints)
num_cards++;
}

static int __init epca_real_setup(char *str)
{
int ints[11];

epca_setup(get_options(str, 11, ints), ints);
return 1;
}

__setup("digiepca", epca_real_setup);
#endif

enum epic_board_types {
brd_xr = 0,
brd_xem,
Expand Down

0 comments on commit 7c30813

Please sign in to comment.