From patchwork Sun Jul 3 21:26:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Endriss X-Patchwork-Id: 941132 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p63LSONa018712 for ; Sun, 3 Jul 2011 21:28:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751473Ab1GCV2W (ORCPT ); Sun, 3 Jul 2011 17:28:22 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:56350 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752122Ab1GCV2Q (ORCPT ); Sun, 3 Jul 2011 17:28:16 -0400 Received: (qmail invoked by alias); 03 Jul 2011 21:28:14 -0000 Received: from unknown (HELO charon.escape-edv.de) [93.216.248.100] by mail.gmx.net (mp066) with SMTP; 03 Jul 2011 23:28:14 +0200 X-Authenticated: #476490 X-Provags-ID: V01U2FsdGVkX1/e+vUyJY7eFoA4Qc3vC3hFYU1KOOkbBQY7zQkJNk KHxlbNHhh0Etne Received: from orion.escape-edv.de (192.168.1.10) by charon.escape-edv.de (192.168.1.9) with esmtp ; Sun, 03 Jul 2011 23:29:07 +0200 From: Oliver Endriss Organization: ESCAPE GmbH EDV-Loesungen To: linux-media@vger.kernel.org Subject: [PATCH 4/5] cxd2099: Fix compilation of ngene/ddbridge for DVB_CXD2099=n Date: Sun, 3 Jul 2011 23:26:22 +0200 User-Agent: KMail/1.9.6 Cc: Mauro Carvalho Chehab References: <201107032321.46092@orion.escape-edv.de> In-Reply-To: <201107032321.46092@orion.escape-edv.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201107032326.23996@orion.escape-edv.de> X-Y-GMX-Trusted: 0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sun, 03 Jul 2011 21:28:24 +0000 (UTC) Fix compilation of ngene/ddbridge for DVB_CXD2099=n. Note: Bug was introduced by commit 'cxd2099: Update to latest version'. Signed-off-by: Oliver Endriss --- drivers/staging/cxd2099/cxd2099.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/cxd2099/cxd2099.h b/drivers/staging/cxd2099/cxd2099.h index 75459d4..19c588a 100644 --- a/drivers/staging/cxd2099/cxd2099.h +++ b/drivers/staging/cxd2099/cxd2099.h @@ -41,7 +41,7 @@ struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, #else static inline struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, - void *priv, struct i2c_adapter *i2c); + void *priv, struct i2c_adapter *i2c) { printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); return NULL;