The brcmfmac driver needs the BCMA_CC_SROM_CONTROL_OTP_PRESENT constant. Previously this was provided by full headers of the bcma subsystem we shipped. Add this extension manually because we removed the full bcma now. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- .../linux/bcma/bcma_driver_chipcommon.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 backport/backport-include/linux/bcma/bcma_driver_chipcommon.h diff --git a/backport/backport-include/linux/bcma/bcma_driver_chipcommon.h b/backport/backport-include/linux/bcma/bcma_driver_chipcommon.h new file mode 100644 index 00000000..5a53b8b1 --- /dev/null +++ b/backport/backport-include/linux/bcma/bcma_driver_chipcommon.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BACKPORT_BCMA_DRIVER_CC_H_ +#define BACKPORT_BCMA_DRIVER_CC_H_ + +#include_next <linux/bcma/bcma_driver_chipcommon.h> + +#ifndef BCMA_CC_SROM_CONTROL_OTP_PRESENT +#define BCMA_CC_SROM_CONTROL_OTP_PRESENT 0x00000020 +#endif /* BCMA_CC_SROM_CONTROL_OTP_PRESENT */ + +#endif /* BACKPORT_BCMA_DRIVER_CC_H_ */ -- 2.45.2