From: Adrian Bunk <bunk@stusta.de>
To: paulkf@microgate.com
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/char/synclinkmp.c: make 3 functions static
Date: Mon, 31 Jan 2005 18:38:41 +0100 [thread overview]
Message-ID: <20050131173841.GU18316@stusta.de> (raw)
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 */
next reply other threads:[~2005-01-31 17:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-31 17:38 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-24 23:40 [2.6 patch] drivers/char/synclinkmp.c: make 3 functions static Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050131173841.GU18316@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=paulkf@microgate.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.