mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-17 15:28:31 +00:00
[PATCH] make lots of things static
Another large rollup of various patches from Adrian which make things static where they were needlessly exported. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
c31403a1f5
commit
408b664a7d
@@ -393,7 +393,6 @@ int jsm_tty_init(struct jsm_board *);
|
||||
int jsm_uart_port_init(struct jsm_board *);
|
||||
int jsm_remove_uart_port(struct jsm_board *);
|
||||
void jsm_input(struct jsm_channel *ch);
|
||||
void jsm_carrier(struct jsm_channel *ch);
|
||||
void jsm_check_queue_flow_control(struct jsm_channel *ch);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -688,7 +688,7 @@ static void neo_flush_uart_read(struct jsm_channel *ch)
|
||||
/*
|
||||
* No locks are assumed to be held when calling this function.
|
||||
*/
|
||||
void neo_clear_break(struct jsm_channel *ch, int force)
|
||||
static void neo_clear_break(struct jsm_channel *ch, int force)
|
||||
{
|
||||
unsigned long lock_flags;
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
|
||||
#include "jsm.h"
|
||||
|
||||
static void jsm_carrier(struct jsm_channel *ch);
|
||||
|
||||
static inline int jsm_get_mstat(struct jsm_channel *ch)
|
||||
{
|
||||
unsigned char mstat;
|
||||
@@ -755,7 +757,7 @@ void jsm_input(struct jsm_channel *ch)
|
||||
jsm_printk(IOCTL, INFO, &ch->ch_bd->pci_dev, "finish\n");
|
||||
}
|
||||
|
||||
void jsm_carrier(struct jsm_channel *ch)
|
||||
static void jsm_carrier(struct jsm_channel *ch)
|
||||
{
|
||||
struct jsm_board *bd;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user