Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
22 lines
569 B
C
22 lines
569 B
C
/* Firmware file reading and download helpers
|
|
*
|
|
* See copyright notice in main.c
|
|
*/
|
|
#ifndef _ORINOCO_FW_H_
|
|
#define _ORINOCO_FW_H_
|
|
|
|
/* Forward declations */
|
|
struct orinoco_private;
|
|
|
|
int orinoco_download(struct orinoco_private *priv);
|
|
|
|
#if defined(CONFIG_HERMES_CACHE_FW_ON_INIT) || defined(CONFIG_PM_SLEEP)
|
|
void orinoco_cache_fw(struct orinoco_private *priv, int ap);
|
|
void orinoco_uncache_fw(struct orinoco_private *priv);
|
|
#else
|
|
#define orinoco_cache_fw(priv, ap) do { } while (0)
|
|
#define orinoco_uncache_fw(priv) do { } while (0)
|
|
#endif
|
|
|
|
#endif /* _ORINOCO_FW_H_ */
|