LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make atm/he.c:read_prom_byte() static
@ 2008-03-30 23:11 Adrian Bunk
2008-04-01 2:35 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-03-30 23:11 UTC (permalink / raw)
To: chas, jgarzik; +Cc: netdev, linux-kernel
This patch makes the needlessly global read_prom_byte() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
This patch has been sent on:
- 1 Mar 2008
64b0e035ca2ddec5daca8c9b56a5586c7bdd7f82 foobar
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index 2e3395b..ffc4a5a 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -3000,8 +3000,7 @@ he_proc_read(struct atm_dev *dev, loff_t *pos, char *page)
/* eeprom routines -- see 4.7 */
-u8
-read_prom_byte(struct he_dev *he_dev, int addr)
+static u8 read_prom_byte(struct he_dev *he_dev, int addr)
{
u32 val = 0, tmp_read = 0;
int i, j = 0;
^ permalink raw reply [flat|nested] 3+ messages in thread
* [2.6 patch] make atm/he.c:read_prom_byte() static
@ 2008-03-01 16:23 Adrian Bunk
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-03-01 16:23 UTC (permalink / raw)
To: chas, jgarzik; +Cc: netdev, linux-kernel
This patch makes the needlessly global read_prom_byte() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
64b0e035ca2ddec5daca8c9b56a5586c7bdd7f82 foobar
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index 2e3395b..ffc4a5a 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -3000,8 +3000,7 @@ he_proc_read(struct atm_dev *dev, loff_t *pos, char *page)
/* eeprom routines -- see 4.7 */
-u8
-read_prom_byte(struct he_dev *he_dev, int addr)
+static u8 read_prom_byte(struct he_dev *he_dev, int addr)
{
u32 val = 0, tmp_read = 0;
int i, j = 0;
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-01 2:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-30 23:11 [2.6 patch] make atm/he.c:read_prom_byte() static Adrian Bunk
2008-04-01 2:35 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2008-03-01 16:23 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).