diff mbox

[4/4] ARM i.MX 3ds debugboard: register a dummy regulator for the smsc911x device

Message ID CAOMZO5AW8EHBcs+YZk9wpaTBCDHe8ZErUDdJoPQAofHCivQxGw@mail.gmail.com
State New
Headers show

Commit Message

Fabio Estevam March 26, 2012, 6:48 p.m. UTC
On Mon, Mar 26, 2012 at 3:38 PM, Fabio Estevam <festevam@gmail.com> wrote:

>  static struct regulator_consumer_supply dummy_supplies[] = {
> -       REGULATOR_SUPPLY("vdd33a", "smsc911x"),
> -       REGULATOR_SUPPLY("vddvario", "smsc911x"),
> +       REGULATOR_SUPPLY("vdd33a", NULL),
> +       REGULATOR_SUPPLY("vddvario", NULL),

Actually the proper fix is:


Will send you the patch shortly.
diff mbox

Patch

--- a/arch/arm/plat-mxc/3ds_debugboard.c
+++ b/arch/arm/plat-mxc/3ds_debugboard.c
@@ -80,7 +80,7 @@  static struct smsc911x_platform_config smsc911x_config = {

 static struct platform_device smsc_lan9217_device = {
        .name = "smsc911x",
-       .id = 0,
+       .id = -1,
        .dev = {
                .platform_data = &smsc911x_config,
        },