projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ATM] horizon: read_bia() needs to be __devinit
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
atm
/
horizon.c
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);