Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11881
b: refs/heads/master
c: d269cdd
h: refs/heads/master
i:
  11879: 14e67cf
v: v3
  • Loading branch information
Bjorn Helgaas authored and Linus Torvalds committed Oct 31, 2005
1 parent 36c8d79 commit 9a28067
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: 708f430dcc50787d1c0b5c31962a5ff0dd8e35eb
refs/heads/master: d269cdd0e22ef22f7f597ea917b1e8bdc6999fcb
10 changes: 2 additions & 8 deletions trunk/drivers/char/rocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ static int sInitController(CONTROLLER_T * CtlP, int CtlNum, ByteIO_t MudbacIO,
static int sReadAiopID(ByteIO_t io);
static int sReadAiopNumChan(WordIO_t io);

#ifdef MODULE
MODULE_AUTHOR("Theodore Ts'o");
MODULE_DESCRIPTION("Comtrol RocketPort driver");
module_param(board1, ulong, 0);
Expand Down Expand Up @@ -288,17 +287,14 @@ MODULE_PARM_DESC(pc104_3, "set interface types for ISA(PC104) board #3 (e.g. pc1
module_param_array(pc104_4, ulong, NULL, 0);
MODULE_PARM_DESC(pc104_4, "set interface types for ISA(PC104) board #4 (e.g. pc104_4=232,232,485,485,...");

int rp_init(void);
static int rp_init(void);
static void rp_cleanup_module(void);

module_init(rp_init);
module_exit(rp_cleanup_module);

#endif

#ifdef MODULE_LICENSE
MODULE_LICENSE("Dual BSD/GPL");
#endif

/*************************************************************************/
/* Module code starts here */
Expand Down Expand Up @@ -2378,7 +2374,7 @@ static struct tty_operations rocket_ops = {
/*
* The module "startup" routine; it's run when the module is loaded.
*/
int __init rp_init(void)
static int __init rp_init(void)
{
int retval, pci_boards_found, isa_boards_found, i;

Expand Down Expand Up @@ -2502,7 +2498,6 @@ int __init rp_init(void)
return 0;
}

#ifdef MODULE

static void rp_cleanup_module(void)
{
Expand Down Expand Up @@ -2530,7 +2525,6 @@ static void rp_cleanup_module(void)
if (controller)
release_region(controller, 4);
}
#endif

/***************************************************************************
Function: sInitController
Expand Down

0 comments on commit 9a28067

Please sign in to comment.