projects
/
10.03
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
backfire: rt8366*: use __devinit instead of __init for the probe function to fix...
[10.03/openwrt.git]
/
target
/
linux
/
generic-2.6
/
files
/
drivers
/
net
/
phy
/
rtl8366rb.c
diff --git
a/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c
b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c
index
b55729b
..
ae6d429
100644
(file)
--- a/
target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c
+++ b/
target/linux/generic-2.6/files/drivers/net/phy/rtl8366rb.c
@@
-1209,7
+1209,7
@@
static struct rtl8366_smi_ops rtl8366rb_smi_ops = {
.enable_vlan4k = rtl8366rb_enable_vlan4k,
};
.enable_vlan4k = rtl8366rb_enable_vlan4k,
};
-static int __init rtl8366rb_probe(struct platform_device *pdev)
+static int __
dev
init rtl8366rb_probe(struct platform_device *pdev)
{
static int rtl8366_smi_version_printed;
struct rtl8366rb_platform_data *pdata;
{
static int rtl8366_smi_version_printed;
struct rtl8366rb_platform_data *pdata;