* [2.6 patch] drivers/char/synclinkmp.c: make 3 functions static
@ 2005-01-31 17:38 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-31 17:38 UTC (permalink / raw)
To: paulkf; +Cc: linux-kernel
This patch makes three needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/char/synclinkmp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.11-rc2-mm2-full/drivers/char/synclinkmp.c.old 2005-01-31 15:38:23.000000000 +0100
+++ linux-2.6.11-rc2-mm2-full/drivers/char/synclinkmp.c 2005-01-31 15:41:34.000000000 +0100
@@ -2313,7 +2313,7 @@
tty_flip_buffer_push(tty);
}
-void isr_txeom(SLMP_INFO * info, unsigned char status)
+static void isr_txeom(SLMP_INFO * info, unsigned char status)
{
if ( debug_level >= DEBUG_LEVEL_ISR )
printk("%s(%d):%s isr_txeom status=%02x\n",
@@ -3815,7 +3815,7 @@
*
* Return Value: pointer to SLMP_INFO if success, otherwise NULL
*/
-SLMP_INFO *alloc_dev(int adapter_num, int port_num, struct pci_dev *pdev)
+static SLMP_INFO *alloc_dev(int adapter_num, int port_num, struct pci_dev *pdev)
{
SLMP_INFO *info;
@@ -5205,7 +5205,7 @@
/* initialize individual SCA device (2 ports)
*/
-int sca_init(SLMP_INFO *info)
+static int sca_init(SLMP_INFO *info)
{
/* set wait controller to single mem partition (low), no wait states */
write_reg(info, PABR0, 0); /* wait controller addr boundary 0 */
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] drivers/char/synclinkmp.c: make 3 functions static
@ 2005-02-24 23:40 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-24 23:40 UTC (permalink / raw)
To: Andrew Morton; +Cc: paulkf, linux-kernel
This patch makes three needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 31 Jan 2005
drivers/char/synclinkmp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.11-rc2-mm2-full/drivers/char/synclinkmp.c.old 2005-01-31 15:38:23.000000000 +0100
+++ linux-2.6.11-rc2-mm2-full/drivers/char/synclinkmp.c 2005-01-31 15:41:34.000000000 +0100
@@ -2313,7 +2313,7 @@
tty_flip_buffer_push(tty);
}
-void isr_txeom(SLMP_INFO * info, unsigned char status)
+static void isr_txeom(SLMP_INFO * info, unsigned char status)
{
if ( debug_level >= DEBUG_LEVEL_ISR )
printk("%s(%d):%s isr_txeom status=%02x\n",
@@ -3815,7 +3815,7 @@
*
* Return Value: pointer to SLMP_INFO if success, otherwise NULL
*/
-SLMP_INFO *alloc_dev(int adapter_num, int port_num, struct pci_dev *pdev)
+static SLMP_INFO *alloc_dev(int adapter_num, int port_num, struct pci_dev *pdev)
{
SLMP_INFO *info;
@@ -5205,7 +5205,7 @@
/* initialize individual SCA device (2 ports)
*/
-int sca_init(SLMP_INFO *info)
+static int sca_init(SLMP_INFO *info)
{
/* set wait controller to single mem partition (low), no wait states */
write_reg(info, PABR0, 0); /* wait controller addr boundary 0 */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-25 0:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31 17:38 [2.6 patch] drivers/char/synclinkmp.c: make 3 functions static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-02-24 23:40 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox