Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b79ddf2c authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kumar Gala
Browse files

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: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 98eaa098
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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);