[PATCH 45/75] header: Add linux/platform_data/brcmnand.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The linux/platform_data/brcmnand.h file is used by bcma. The defined
structure is only used on some MIPS SoCs which activate CONFIG_config
BCMA_NFLASH.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 backport/backport-include/linux/platform_data/brcmnand.h | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 backport/backport-include/linux/platform_data/brcmnand.h

diff --git a/backport/backport-include/linux/platform_data/brcmnand.h b/backport/backport-include/linux/platform_data/brcmnand.h
new file mode 100644
index 00000000..9b83d80b
--- /dev/null
+++ b/backport/backport-include/linux/platform_data/brcmnand.h
@@ -0,0 +1,9 @@
+#ifndef __BACKPORT_BRCMNAND_PLAT_DATA_H
+#define __BACKPORT_BRCMNAND_PLAT_DATA_H
+#include <linux/version.h>
+
+#if LINUX_VERSION_IS_GEQ(5,18,0)
+#include_next <linux/platform_data/brcmnand.h>
+#endif /* >= 5.18.0 */
+
+#endif /* __BACKPORT_BRCMNAND_PLAT_DATA_H */
-- 
2.45.2





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux