Messages in this thread | | | Date | Wed, 9 Mar 2011 16:16:41 +0200 | Subject | Re: [PATCH] stable: sheevaplug-setup.c fix LED color name and add support for second LED This is a patch to the sheevaplug-setup.c file that fixes the color name of the existing health LED. That LED gpio 49 is green when off and blue when on. The pat | From | saeed bishara <> |
| |
On Wed, Mar 9, 2011 at 3:27 PM, Robin Becker <replabrobin@gmail.com> wrote: > From: replabrobin <robin@reportlab.com> please use short subject for this commit, and move the description into the commit description section aslo, I would split this to two patches, one fixes the LED color name, the second for adding the new LED.
> static unsigned int sheevaplug_mpp_config[] __initdata = { > MPP29_GPIO, /* USB Power Enable */ > - MPP49_GPIO, /* LED */ > + MPP46_GPIO, /* RED LED */ > + MPP49_GPIO, /* BLUE LED */ > 0 > }; > > static unsigned int sheeva_esata_mpp_config[] __initdata = { > MPP29_GPIO, /* USB Power Enable */ > MPP44_GPIO, /* SD Write Protect */ > + MPP46_GPIO, /* RED LED */ > MPP47_GPIO, /* SD Card Detect */ > MPP49_GPIO, /* LED Green */ please fix the comment as well -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |