rt8366*: use __devinit instead of __init for the probe function to fix a section mismatch
SVN-Revision: 23573
This commit is contained in:
parent
0ccae6ec9e
commit
0ee2fda5e1
2 changed files with 2 additions and 2 deletions
|
@ -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 __devinit rtl8366rb_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
static int rtl8366_smi_version_printed;
|
static int rtl8366_smi_version_printed;
|
||||||
struct rtl8366rb_platform_data *pdata;
|
struct rtl8366rb_platform_data *pdata;
|
||||||
|
|
|
@ -1027,7 +1027,7 @@ static struct rtl8366_smi_ops rtl8366s_smi_ops = {
|
||||||
.enable_vlan4k = rtl8366s_enable_vlan4k,
|
.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;
|
static int rtl8366_smi_version_printed;
|
||||||
struct rtl8366s_platform_data *pdata;
|
struct rtl8366s_platform_data *pdata;
|
||||||
|
|
Loading…
Reference in a new issue