diff options
| author | Jonathan Corbet <corbet@lwn.net> | 2008-07-14 17:29:34 -0400 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2008-07-14 17:29:34 -0400 |
| commit | 2fceef397f9880b212a74c418290ce69e7ac00eb (patch) | |
| tree | d9cc09ab992825ef7fede4a688103503e3caf655 /drivers/char/ip2 | |
| parent | feae1ef116ed381625d3731c5ae4f4ebcb3fa302 (diff) | |
| parent | bce7f793daec3e65ec5c5705d2457b81fe7b5725 (diff) | |
Merge commit 'v2.6.26' into bkl-removal
Diffstat (limited to 'drivers/char/ip2')
| -rw-r--r-- | drivers/char/ip2/Makefile | 4 | ||||
| -rw-r--r-- | drivers/char/ip2/ip2main.c | 23 |
2 files changed, 2 insertions, 25 deletions
diff --git a/drivers/char/ip2/Makefile b/drivers/char/ip2/Makefile index 6bfe2543ddc2..939618f62fe1 100644 --- a/drivers/char/ip2/Makefile +++ b/drivers/char/ip2/Makefile | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # Makefile for the Computone IntelliPort Plus Driver | 2 | # Makefile for the Computone IntelliPort Plus Driver |
| 3 | # | 3 | # |
| 4 | 4 | ||
| 5 | obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o | 5 | obj-$(CONFIG_COMPUTONE) += ip2.o |
| 6 | 6 | ||
| 7 | ip2-objs := ip2base.o | 7 | ip2-objs := ip2base.o ip2main.o |
| 8 | 8 | ||
diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c index a978c57b6b2b..61b6fe4156bb 100644 --- a/drivers/char/ip2/ip2main.c +++ b/drivers/char/ip2/ip2main.c | |||
| @@ -347,27 +347,6 @@ have_requested_irq( char irq ) | |||
| 347 | } | 347 | } |
| 348 | 348 | ||
| 349 | /******************************************************************************/ | 349 | /******************************************************************************/ |
| 350 | /* Function: init_module() */ | ||
| 351 | /* Parameters: None */ | ||
| 352 | /* Returns: Success (0) */ | ||
| 353 | /* */ | ||
| 354 | /* Description: */ | ||
| 355 | /* This is a required entry point for an installable module. It simply calls */ | ||
| 356 | /* the driver initialisation function and returns what it returns. */ | ||
| 357 | /******************************************************************************/ | ||
| 358 | #ifdef MODULE | ||
| 359 | static int __init | ||
| 360 | ip2_init_module(void) | ||
| 361 | { | ||
| 362 | #ifdef IP2DEBUG_INIT | ||
| 363 | printk (KERN_DEBUG "Loading module ...\n" ); | ||
| 364 | #endif | ||
| 365 | return 0; | ||
| 366 | } | ||
| 367 | module_init(ip2_init_module); | ||
| 368 | #endif /* MODULE */ | ||
| 369 | |||
| 370 | /******************************************************************************/ | ||
| 371 | /* Function: cleanup_module() */ | 350 | /* Function: cleanup_module() */ |
| 372 | /* Parameters: None */ | 351 | /* Parameters: None */ |
| 373 | /* Returns: Nothing */ | 352 | /* Returns: Nothing */ |
| @@ -780,8 +759,6 @@ out: | |||
| 780 | return err; | 759 | return err; |
| 781 | } | 760 | } |
| 782 | 761 | ||
| 783 | EXPORT_SYMBOL(ip2_loadmain); | ||
| 784 | |||
| 785 | /******************************************************************************/ | 762 | /******************************************************************************/ |
| 786 | /* Function: ip2_init_board() */ | 763 | /* Function: ip2_init_board() */ |
| 787 | /* Parameters: Index of board in configuration structure */ | 764 | /* Parameters: Index of board in configuration structure */ |
