projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d38163
)
[ATM] horizon: read_bia() needs to be __devinit
author
David S. Miller
<davem@sunset.davemloft.net>
Tue, 24 Oct 2006 23:16:39 +0000
(16:16 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Tue, 24 Oct 2006 23:16:39 +0000
(16:16 -0700)
Thanks to Randy Dunlap.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/horizon.c
patch
|
blob
|
history
diff --git
a/drivers/atm/horizon.c
b/drivers/atm/horizon.c
index 44268cba5a5a215c3f8de6a78af1ada1653cd393..4dc10105d61023311586f6f930950d4dc04d44ea 100644
(file)
--- a/
drivers/atm/horizon.c
+++ b/
drivers/atm/horizon.c
@@
-1789,7
+1789,7
@@
static inline void CLOCK_IT (const hrz_dev *dev, u32 ctrl)
WRITE_IT_WAIT(dev, ctrl | SEEPROM_SK);
}
-static u16 __init read_bia (const hrz_dev * dev, u16 addr)
+static u16 __
dev
init read_bia (const hrz_dev * dev, u16 addr)
{
u32 ctrl = rd_regl (dev, CONTROL_0_REG);