]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/net/wireless/orinoco/fw.h
Merge branch 'vfs' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl
[mirror_ubuntu-artful-kernel.git] / drivers / net / wireless / orinoco / fw.h
CommitLineData
37a2e566
DK
1/* Firmware file reading and download helpers
2 *
3 * See copyright notice in main.c
4 */
5#ifndef _ORINOCO_FW_H_
6#define _ORINOCO_FW_H_
7
8/* Forward declations */
9struct orinoco_private;
10
11int orinoco_download(struct orinoco_private *priv);
12
2bfc5cb5 13#if defined(CONFIG_HERMES_CACHE_FW_ON_INIT) || defined(CONFIG_PM_SLEEP)
37a2e566
DK
14void orinoco_cache_fw(struct orinoco_private *priv, int ap);
15void orinoco_uncache_fw(struct orinoco_private *priv);
2bfc5cb5
AB
16#else
17#define orinoco_cache_fw(priv, ap) do { } while(0)
18#define orinoco_uncache_fw(priv) do { } while (0)
19#endif
37a2e566
DK
20
21#endif /* _ORINOCO_FW_H_ */