From patchwork Thu Sep 22 11:53:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 115936 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 08F55B6F7B for ; Thu, 22 Sep 2011 21:54:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DD2702844C; Thu, 22 Sep 2011 13:54:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aIFm-l0xI5Dz; Thu, 22 Sep 2011 13:54:15 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8A67A283F3; Thu, 22 Sep 2011 13:54:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8AB74283F3 for ; Thu, 22 Sep 2011 13:54:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0g6+TdRTa27k for ; Thu, 22 Sep 2011 13:54:10 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by theia.denx.de (Postfix) with ESMTPS id D4C93283F2 for ; Thu, 22 Sep 2011 13:54:09 +0200 (CEST) Received: by bkaq10 with SMTP id q10so2356849bka.3 for ; Thu, 22 Sep 2011 04:54:09 -0700 (PDT) Received: by 10.204.129.143 with SMTP id o15mr1658219bks.286.1316692448910; Thu, 22 Sep 2011 04:54:08 -0700 (PDT) Received: from asterix.localdomain (p54A77522.dip.t-dialin.net. [84.167.117.34]) by mx.google.com with ESMTPS id ex8sm1235978bkc.2.2011.09.22.04.54.06 (version=SSLv3 cipher=OTHER); Thu, 22 Sep 2011 04:54:07 -0700 (PDT) From: Dirk Behme To: u-boot@lists.denx.de Date: Thu, 22 Sep 2011 13:53:22 +0200 Message-Id: <1316692402-24125-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 1.7.3.2 Cc: Greg Turner , Koen Kooi Subject: [U-Boot] [PATCH] OMAP3: beagle: Fix build warning in beagle.c X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Dirk Behme Fix build warning beagle.c:532: warning: initialization from incompatible pointer type Signed-off-by: Dirk Behme CC: Jason Kridner CC: Koen Kooi CC: Joel A Fernandes Cc: Greg Turner CC: Sandeep Paulraj Acked-by: Jason Kridner --- Note: This seems to be introduced with the commit "BeagleBoard: Added userbutton command" http://git.denx.de/?p=u-boot.git;a=commit;h=f835ea7158025818d69384a7ebd8c3de0f10a9f7 board/ti/beagle/beagle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: u-boot.git/board/ti/beagle/beagle.c =================================================================== --- u-boot.git.orig/board/ti/beagle/beagle.c +++ u-boot.git/board/ti/beagle/beagle.c @@ -486,7 +486,7 @@ int ehci_hcd_init(void) * Returns - 1 if button is held down * 0 if button is not held down */ -int do_userbutton (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) +int do_userbutton(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { int button = 0; int gpio;