include/linux/ssb/ssb_driver_gige.h typo fix
This patch fixes a typo in the name of a config variable. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> Reviewed-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
be038b3764
commit
585c5434f0
|
@ -100,7 +100,7 @@ extern char * nvram_get(const char *name);
|
||||||
/* Get the device MAC address */
|
/* Get the device MAC address */
|
||||||
static inline void ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr)
|
static inline void ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_BCM947XX
|
#ifdef CONFIG_BCM47XX
|
||||||
char *res = nvram_get("et0macaddr");
|
char *res = nvram_get("et0macaddr");
|
||||||
if (res)
|
if (res)
|
||||||
memcpy(macaddr, res, 6);
|
memcpy(macaddr, res, 6);
|
||||||
|
|
Loading…
Reference in New Issue