From patchwork Fri Oct 16 20:32:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 7420701 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4649D9F1D5 for ; Fri, 16 Oct 2015 20:32:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6FC8C2069B for ; Fri, 16 Oct 2015 20:32:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 88BBA20681 for ; Fri, 16 Oct 2015 20:32:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932760AbbJPUcJ (ORCPT ); Fri, 16 Oct 2015 16:32:09 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:63278 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932668AbbJPUcI (ORCPT ); Fri, 16 Oct 2015 16:32:08 -0400 Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0McRqW-1a4iWJ38oS-00HbUL; Fri, 16 Oct 2015 22:32:03 +0200 From: Arnd Bergmann To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Sergey Kozlov , linux-kernel@vger.kernel.org Subject: [PATCH] [media] lnbh25: fix lnbh25_attach inline wrapper Date: Fri, 16 Oct 2015 22:32:02 +0200 Message-ID: <10110482.QkOJ1nlAsE@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:FetRe7ZF5mJwFYYr/18aTzoDQSGKFZSUave7wt89ywD0S1WKIAI BYrcVu4fJSILQwvTBG4PfoAfC1ciIw03F6Op2YMpfdc+khftFoL8OVOt16ARqKFPIDEKhqn Mg3n7rd2R33n2mtMdAO6UbtGKKYA/Rp5I84BAdUaZ3+o3mbu4UfFU4BuI6zTWlcYkMAnRCO XEW6+NSQiSMLrn7kHS8Ug== X-UI-Out-Filterresults: notjunk:1; V01:K0:3v9a6GjbpMo=:KV/m9kNJyE32ImG/h55Upi nLIc9f3Pl89JEoHuNVeL/+CSm9tkuJu93TtPdMNEjNT6+v4/Up0gyUvAky81NynfYpcn0pKhv Ce/sSzc1fJv9jXHw2rbkbSV5wO6r0LoeEXMol5r6yFItxIlQlsHSjNDo8mpGoVzxUlc8+owwP X0T6j22OlMMOFSzUTos7GeD16S0pM7gf9CNeLAWuSzf3xGdbzV7WEG66Vq0xqG8IPlqAf2c95 IjSSzmy1atZT2/lrqVYWm55OX0CAi7OCj6XHQGnKwdFGQov1mkt8RxO+rkx6gHlH4Nl7J4JwN gTWtHbBBQCXruELQP82ipaAj6C276V7Si3igCEimKuzQ/4BRrsrPuIcNZOk9qqEZKlc+3ZOqS 7OIUelaYn0cyLxd+0baC97TTHoM3DyViXceWhTfHL9tBzt3er6MLL8MalCnet2z7q4Ko/FdlJ 5mnSlrce1TyAIOzW9uojqpfgTLkV1NvoejJ65gQ+uDCWx1xi0Tthx8zIj3WAhnb8q6jOrMTLT 5kaXzrj6e4m7ZwxrwHEsPX5Rp6NiwaxyX5HL3YuN4GSAvYyDIEC/ysnZ4V4IILfj7bEwsqIb0 OAk7KIF/lMwksbyGbhOh1Ae61rxhiA0EZxIOzPDBXFWgog3ng2vbhwtWcQ0eOu38VfswkHNGN B6LXvYBkby09FTysFOmghp0qfbK/S+KiGcokIQDwPyEshSY25FIp5uzaME1ioZRdFVlufDBny TjQ0IxAq7IBZv6u3 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The 'static inline' version of lnbh25_attach() has an incorrect prototype which results in a build error when CONFIG_DVB_LNBH25 is disabled: In file included from /git/arm-soc/drivers/media/pci/netup_unidvb/netup_unidvb_core.c:36:0: /git/arm-soc/drivers/media/dvb-frontends/lnbh25.h:46:86: error: unknown type name 'dvb_frontend' This changes the code to have the correct prototype. Signed-off-by: Arnd Bergmann Fixes: e025273b86fb ("[media] lnbh25: LNBH25 SEC controller driver") --- Found on ARM randconfig builds -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/dvb-frontends/lnbh25.h b/drivers/media/dvb-frontends/lnbh25.h index 69f30e21f6b3..1f329ef05acc 100644 --- a/drivers/media/dvb-frontends/lnbh25.h +++ b/drivers/media/dvb-frontends/lnbh25.h @@ -43,7 +43,7 @@ struct dvb_frontend *lnbh25_attach( struct lnbh25_config *cfg, struct i2c_adapter *i2c); #else -static inline dvb_frontend *lnbh25_attach( +static inline struct dvb_frontend *lnbh25_attach( struct dvb_frontend *fe, struct lnbh25_config *cfg, struct i2c_adapter *i2c)