Re: [2.6 patch] include/linux/ssb/ssb_driver_gige.h typo fix

From: Robert P. J. Day
Date: Thu Jun 05 2008 - 14:35:14 EST


On Thu, 5 Jun 2008, Adrian Bunk wrote:

> This patch fixes a typo in the name of a config variable.
>
> Reported-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
>
> ---
> 2aab8eeb46b30baf987c344e1b144caec365373a diff --git a/include/linux/ssb/ssb_driver_gige.h b/include/linux/ssb/ssb_driver_gige.h
> index 01fbdf5..942e387 100644
> --- a/include/linux/ssb/ssb_driver_gige.h
> +++ b/include/linux/ssb/ssb_driver_gige.h
> @@ -100,7 +100,7 @@ extern char * nvram_get(const char *name);
> /* Get the device MAC address */
> static inline void ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr)
> {
> -#ifdef CONFIG_BCM947XX
> +#ifdef CONFIG_BCM47XX
> char *res = nvram_get("et0macaddr");
> if (res)
> memcpy(macaddr, res, 6);
>

just FYI, there are more (admittedly aesthetic) references to
BCM947XX in the MIPS directory:

$ grep -r "BCM947XX" *
include/linux/ssb/ssb_driver_gige.h:#ifdef CONFIG_BCM947XX
include/asm-mips/mach-bcm47xx/war.h:#ifndef __ASM_MIPS_MACH_BCM947XX_WAR_H
include/asm-mips/mach-bcm47xx/war.h:#define __ASM_MIPS_MACH_BCM947XX_WAR_H
include/asm-mips/mach-bcm47xx/war.h:#endif /* __ASM_MIPS_MACH_BCM947XX_WAR_H */
$

whether you want to do anything about those is up to you.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/