From patchwork Wed Jul 22 01:20:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Walls X-Patchwork-Id: 1351 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Wed, 22 Jul 2009 01:18:54 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra.chehab.org with IMAP (fetchmail-6.3.6) for (single-drop); Tue, 21 Jul 2009 22:21:22 -0300 (BRT) Received: from vger.kernel.org ([209.132.176.167]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1MTQTu-0007Wf-Av; Wed, 22 Jul 2009 01:18:54 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754319AbZGVBSt (ORCPT + 1 other); Tue, 21 Jul 2009 21:18:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754304AbZGVBSt (ORCPT ); Tue, 21 Jul 2009 21:18:49 -0400 Received: from mail1.radix.net ([207.192.128.31]:56547 "EHLO mail1.radix.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754318AbZGVBSt (ORCPT ); Tue, 21 Jul 2009 21:18:49 -0400 Received: from [192.168.1.2] (02-132.155.popsite.net [66.217.132.132]) (authenticated bits=0) by mail1.radix.net (8.13.4/8.13.4) with ESMTP id n6M1IMOA016439; Tue, 21 Jul 2009 21:18:23 -0400 (EDT) Subject: [PATCH v2 1/4] ir-kbd-i2c: Remove superfulous inlines From: Andy Walls To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Jean Delvare , Mark Lord , Jarod Wilson , Mike Isely , Hans Verkuil , Janne Grunau Date: Tue, 21 Jul 2009 21:20:32 -0400 Message-Id: <1248225632.3191.51.camel@palomino.walls.org> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org (This is a resubmission of a patch by Jean Delvare) Functions which are referenced by their address can't be inlined by definition. Signed-off-by: Jean Delvare Signed-off-by: Andy Walls --- 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 -r 6477aa1782d5 linux/drivers/media/video/ir-kbd-i2c.c --- a/linux/drivers/media/video/ir-kbd-i2c.c Tue Jul 21 09:17:24 2009 -0300 +++ b/linux/drivers/media/video/ir-kbd-i2c.c Tue Jul 21 20:55:54 2009 -0400 @@ -127,12 +127,12 @@ return 1; } -static inline int get_key_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) +static int get_key_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) { return get_key_haup_common (ir, ir_key, ir_raw, 3, 0); } -static inline int get_key_haup_xvr(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) +static int get_key_haup_xvr(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw) { return get_key_haup_common (ir, ir_key, ir_raw, 6, 3); }