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:
Adrian Bunk 2008-06-05 21:29:49 +03:00 committed by John W. Linville
parent be038b3764
commit 585c5434f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);