From a3010e7670cd33b172f83819006474b57cd9cb6f Mon Sep 17 00:00:00 2001 From: Anton Vorontsov Date: Thu, 27 Aug 2009 21:30:19 +0400 Subject: [PATCH] --- yaml --- r: 175759 b: refs/heads/master c: b79ddf2c2dba44114d150c7758002ef29e693086 h: refs/heads/master i: 175757: 148d93a71d324f68affd5979961f6f861e747142 175755: 5b2dc0fd38d091e0f35b13e0ab5355305e448608 175751: a50cb9b9dff9588e4494e65b1a22882fb74097a6 175743: 225c6a1adf7808870b1c66207cdb27d8c5104e92 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/include/asm/qe.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 0b087bdd1b15..4f1508f69992 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 98eaa0987afdcab0929dc205edb5c492cf66a370 +refs/heads/master: b79ddf2c2dba44114d150c7758002ef29e693086 diff --git a/trunk/arch/powerpc/include/asm/qe.h b/trunk/arch/powerpc/include/asm/qe.h index f388f0ab193f..28fee3b7887a 100644 --- a/trunk/arch/powerpc/include/asm/qe.h +++ b/trunk/arch/powerpc/include/asm/qe.h @@ -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);