]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
MIPS: bcm963xx: Move Broadcom BCM963xx image tag data structure
authorSimon Arlott <simon@fire.lp0.eu>
Sun, 13 Dec 2015 22:46:59 +0000 (22:46 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 02:48:23 +0000 (03:48 +0100)
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>
MAINTAINERS
drivers/mtd/bcm63xxpart.c
include/linux/bcm963xx_tag.h [moved from arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h with 96% similarity]

index 6cb7b57a0e2f351251f1e2abfbddd6cb094bc8b3..069406de5b14814bc9f8ac6747456671df685205 100644 (file)
@@ -2377,6 +2377,7 @@ F:        arch/mips/boot/dts/brcm/bcm*.dts*
 F:     drivers/irqchip/irq-bcm7*
 F:     drivers/irqchip/irq-brcmstb*
 F:     include/linux/bcm963xx_nvram.h
+F:     include/linux/bcm963xx_tag.h
 
 BROADCOM TG3 GIGABIT ETHERNET DRIVER
 M:     Prashant Sreedharan <prashant@broadcom.com>
index b2443f7031c9afb0bda808a37b6da7e8113d0a61..8b86ed69522ec7d8ff458adabe401aeba9df2f45 100644 (file)
@@ -24,6 +24,7 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
+#include <linux/bcm963xx_tag.h>
 #include <linux/crc32.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
@@ -34,7 +35,6 @@
 #include <linux/mtd/partitions.h>
 
 #include <asm/mach-bcm63xx/bcm63xx_nvram.h>
-#include <asm/mach-bcm63xx/bcm963xx_tag.h>
 #include <asm/mach-bcm63xx/board_bcm963xx.h>
 
 #define BCM63XX_EXTENDED_SIZE  0xBFC00000      /* Extended flash address */
similarity index 96%
rename from arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h
rename to include/linux/bcm963xx_tag.h
index 1e6b587f62c940a513d357ab0064d103d3d974de..f389dace6d95a50fd04af779db3a4b52d48588c0 100644 (file)
@@ -1,5 +1,7 @@
-#ifndef __BCM963XX_TAG_H
-#define __BCM963XX_TAG_H
+#ifndef __LINUX_BCM963XX_TAG_H__
+#define __LINUX_BCM963XX_TAG_H__
+
+#include <linux/types.h>
 
 #define TAGVER_LEN             4       /* Length of Tag Version */
 #define TAGLAYOUT_LEN          4       /* Length of FlashLayoutVer */
@@ -93,4 +95,4 @@ struct bcm_tag {
        char reserved2[16];
 };
 
-#endif /* __BCM63XX_TAG_H */
+#endif /* __LINUX_BCM63XX_TAG_H__ */