1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-23 06:51:06 +02:00

backfire: rt8366*: use __devinit instead of __init for the probe function to fix a section mismatch (backport of r23573)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24989 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2011-01-14 18:19:09 +00:00
parent 3bf4bd7bec
commit 48de68f691
2 changed files with 2 additions and 2 deletions

View File

@ -1209,7 +1209,7 @@ static struct rtl8366_smi_ops rtl8366rb_smi_ops = {
.enable_vlan4k = rtl8366rb_enable_vlan4k,
};
static int __init rtl8366rb_probe(struct platform_device *pdev)
static int __devinit rtl8366rb_probe(struct platform_device *pdev)
{
static int rtl8366_smi_version_printed;
struct rtl8366rb_platform_data *pdata;

View File

@ -1027,7 +1027,7 @@ static struct rtl8366_smi_ops rtl8366s_smi_ops = {
.enable_vlan4k = rtl8366s_enable_vlan4k,
};
static int __init rtl8366s_probe(struct platform_device *pdev)
static int __devinit rtl8366s_probe(struct platform_device *pdev)
{
static int rtl8366_smi_version_printed;
struct rtl8366s_platform_data *pdata;