diff mbox series

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

Message ID 20240627234808.1253337-46-hauke@hauke-m.de (mailing list archive)
State New, archived
Headers show
Series backports: Update to kernel 6.1.95 | expand

Commit Message

Hauke Mehrtens June 27, 2024, 11:47 p.m. UTC
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@hauke-m.de>
---
 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 mbox series

Patch

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 */