mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
powerpc/qe: Add qe_upload_firmware() stub for non-QE builds
This is needed to avoid #ifdefs in MPC85xx suspend/resume code. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
98eaa0987a
commit
b79ddf2c2d
1 changed files with 7 additions and 0 deletions
|
@ -210,8 +210,15 @@ struct qe_firmware_info {
|
|||
u64 extended_modes; /* Extended modes */
|
||||
};
|
||||
|
||||
#ifdef CONFIG_QUICC_ENGINE
|
||||
/* Upload a firmware to the QE */
|
||||
int qe_upload_firmware(const struct qe_firmware *firmware);
|
||||
#else
|
||||
static inline int qe_upload_firmware(const struct qe_firmware *firmware)
|
||||
{
|
||||
return -ENOSYS;
|
||||
}
|
||||
#endif /* CONFIG_QUICC_ENGINE */
|
||||
|
||||
/* Obtain information on the uploaded firmware */
|
||||
struct qe_firmware_info *qe_get_firmware_info(void);
|
||||
|
|
Loading…
Reference in a new issue