Message ID | 20240707225646.1924882-4-hauke@hauke-m.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/8] defconfig: Add new Mediatek and Realtek drivers | expand |
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_ */
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@hauke-m.de> --- .../linux/bcma/bcma_driver_chipcommon.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 backport/backport-include/linux/bcma/bcma_driver_chipcommon.h