From patchwork Tue Jan 18 09:13:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Endriss X-Patchwork-Id: 485781 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0I9Ea3w010863 for ; Tue, 18 Jan 2011 09:14:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752997Ab1ARJOf (ORCPT ); Tue, 18 Jan 2011 04:14:35 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:44844 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752740Ab1ARJOd (ORCPT ); Tue, 18 Jan 2011 04:14:33 -0500 Received: (qmail invoked by alias); 18 Jan 2011 09:14:31 -0000 Received: from p5090678B.dip.t-dialin.net (HELO charon.escape-edv.de) [80.144.103.139] by mail.gmx.net (mp009) with SMTP; 18 Jan 2011 10:14:31 +0100 X-Authenticated: #476490 X-Provags-ID: V01U2FsdGVkX19pqaxSgidp2dCJHO9TK9K0m1rMHpP6MvqYsMqpEJ 6vw7IPu5yJtb3d Received: from orion.escape-edv.de (192.168.1.10) by charon.escape-edv.de (192.168.1.9) with esmtp ; Tue, 18 Jan 2011 10:17:35 +0100 From: Oliver Endriss Reply-To: linux-media@vger.kernel.org Organization: ESCAPE GmbH EDV-Loesungen To: Mauro Carvalho Chehab Subject: Re: [PATCH 07/16] ngene: CXD2099AR Common Interface driver Date: Tue, 18 Jan 2011 10:13:48 +0100 User-Agent: KMail/1.9.6 Cc: linux-media@vger.kernel.org, Andreas Oberritter , Ralph Metzler References: <1294652184-12843-1-git-send-email-o.endriss@gmx.de> <201101101820.07907@orion.escape-edv.de> <4D346ED3.2030703@redhat.com> In-Reply-To: <4D346ED3.2030703@redhat.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201101181013.49222@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 (demeter1.kernel.org [140.211.167.41]); Tue, 18 Jan 2011 09:14:37 +0000 (UTC) diff --git a/drivers/staging/cxd2099/cxd2099.h b/drivers/staging/cxd2099/cxd2099.h index a313dc2..bed54ff 100644 --- a/drivers/staging/cxd2099/cxd2099.h +++ b/drivers/staging/cxd2099/cxd2099.h @@ -31,7 +31,7 @@ (defined(CONFIG_DVB_CXD2099_MODULE) && defined(MODULE)) struct dvb_ca_en50221 *cxd2099_attach(u8 adr, void *priv, struct i2c_adapter *i2c); #else -struct dvb_ca_en50221 *cxd2099_attach(u8 adr, void *priv, struct i2c_adapter *i2c) +static inline struct dvb_ca_en50221 *cxd2099_attach(u8 adr, void *priv, struct i2c_adapter *i2c) { printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); return NULL;