Skip to content

Commit 8fce60b

Browse files
nomisralfbaechle
authored andcommitted
MIPS: bcm963xx: Move Broadcom BCM963xx image tag data structure
Move Broadcom BCM963xx image tag data structure to include/linux/ so that drivers outside of mach-bcm63xx can use it. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Jonas Gorski <jogo@openwrt.org> Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org> Cc: MIPS Mailing List <linux-mips@linux-mips.org> Cc: MTD Maling List <linux-mtd@lists.infradead.org> Patchwork: https://patchwork.linux-mips.org/patch/11832/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 5a8b0b1 commit 8fce60b

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,6 +2377,7 @@ F: arch/mips/boot/dts/brcm/bcm*.dts*
23772377
F: drivers/irqchip/irq-bcm7*
23782378
F: drivers/irqchip/irq-brcmstb*
23792379
F: include/linux/bcm963xx_nvram.h
2380+
F: include/linux/bcm963xx_tag.h
23802381

23812382
BROADCOM TG3 GIGABIT ETHERNET DRIVER
23822383
M: Prashant Sreedharan <prashant@broadcom.com>

drivers/mtd/bcm63xxpart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
2626

27+
#include <linux/bcm963xx_tag.h>
2728
#include <linux/crc32.h>
2829
#include <linux/module.h>
2930
#include <linux/kernel.h>
@@ -34,7 +35,6 @@
3435
#include <linux/mtd/partitions.h>
3536

3637
#include <asm/mach-bcm63xx/bcm63xx_nvram.h>
37-
#include <asm/mach-bcm63xx/bcm963xx_tag.h>
3838
#include <asm/mach-bcm63xx/board_bcm963xx.h>
3939

4040
#define BCM63XX_EXTENDED_SIZE 0xBFC00000 /* Extended flash address */

arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h renamed to include/linux/bcm963xx_tag.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
#ifndef __BCM963XX_TAG_H
2-
#define __BCM963XX_TAG_H
1+
#ifndef __LINUX_BCM963XX_TAG_H__
2+
#define __LINUX_BCM963XX_TAG_H__
3+
4+
#include <linux/types.h>
35

46
#define TAGVER_LEN 4 /* Length of Tag Version */
57
#define TAGLAYOUT_LEN 4 /* Length of FlashLayoutVer */
@@ -93,4 +95,4 @@ struct bcm_tag {
9395
char reserved2[16];
9496
};
9597

96-
#endif /* __BCM63XX_TAG_H */
98+
#endif /* __LINUX_BCM63XX_TAG_H__ */

0 commit comments

Comments
 (0)