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

Hauke Mehrtens <[email protected]> Fri, 28 Jun 2024 01:47:31 +0200
Newsgroups org.kernel.vger.backports
Message-ID <[email protected]>
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 <[email protected]>
---
 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