From patchwork Tue Mar 23 20:42:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Maraschini X-Patchwork-Id: 87761 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2NKhHJE002128 for ; Tue, 23 Mar 2010 20:43:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754337Ab0CWUm1 (ORCPT ); Tue, 23 Mar 2010 16:42:27 -0400 Received: from mail-fx0-f223.google.com ([209.85.220.223]:60781 "EHLO mail-fx0-f223.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753967Ab0CWUmZ (ORCPT ); Tue, 23 Mar 2010 16:42:25 -0400 Received: by fxm23 with SMTP id 23so2605718fxm.1 for ; Tue, 23 Mar 2010 13:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=cTYtqXde89Tynr1QeoP5oIXwRUqTekwnZ29MZtqVpN8=; b=S9Tx1O1Hm376rQhz1xS9U6m8IJl5f0RGfMF4dERQSxFZMmxQ/moSQBjfLFTu7Z5kng MS70IL1r61HRfh2KccDsqeg+PHe+n0mhY/JMqF0w2qRXKLyfK2UNvhDJukkkyoJHZcJU Oc2BJUtS9cygndiea6TxifQwCoL2KgJYDBLr8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=lBPkFXpbSMyHJ6GkxoIegyy6ldhIdbUrHGC0zJZxIu5oCBA2c8dB4T32uE5dcibz3T du2JBntI+Tc3bDgcTTRHD69kc69WAvM7WFYWtUi7aNUHI6j3JuLt7sbImIblNnyWxpaV kxswLCcjCpEpsLhfdZ5+I1Okpvi7yIxfDJQCA= MIME-Version: 1.0 Received: by 10.223.102.214 with SMTP id h22mr2483344fao.105.1269376943846; Tue, 23 Mar 2010 13:42:23 -0700 (PDT) Date: Tue, 23 Mar 2010 17:42:23 -0300 Message-ID: <499b283a1003231342h6fcbe74di2aa67eb91b18cf0c@mail.gmail.com> Subject: [PATCH] Fix Warning ISO C90 forbids mixed declarations and code - cx88-dvb From: Ricardo Maraschini To: linux-media@vger.kernel.org Cc: doug , mchehab@redhat.com 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.3 (demeter.kernel.org [140.211.167.41]); Tue, 23 Mar 2010 20:43:18 +0000 (UTC) --- a/linux/drivers/media/video/cx88/cx88-dvb.c Tue Mar 23 16:17:11 2010 -0300 +++ b/linux/drivers/media/video/cx88/cx88-dvb.c Tue Mar 23 17:29:29 2010 -0300 @@ -1401,7 +1401,8 @@ case CX88_BOARD_SAMSUNG_SMT_7020: dev->ts_gen_cntrl = 0x08; - struct cx88_core *core = dev->core; + struct cx88_core *core; + core = dev->core; cx_set(MO_GP0_IO, 0x0101);