From patchwork Wed Jan 6 14:00:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vimal singh X-Patchwork-Id: 71292 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o06E0jan003314 for ; Wed, 6 Jan 2010 14:00:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932194Ab0AFOAo (ORCPT ); Wed, 6 Jan 2010 09:00:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755767Ab0AFOAo (ORCPT ); Wed, 6 Jan 2010 09:00:44 -0500 Received: from mail-bw0-f227.google.com ([209.85.218.227]:49786 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754713Ab0AFOAn (ORCPT ); Wed, 6 Jan 2010 09:00:43 -0500 Received: by bwz27 with SMTP id 27so10683489bwz.21 for ; Wed, 06 Jan 2010 06:00:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:cc:content-type; bh=9XYIgesSylyif7KK+LVcDFT7LyVVEF6jvM3zXd7UbMM=; b=f2z2mZqknutjahE9S4pqzusB2+EtUfJFsb1kgVH5otF9WryDxIlYKLaOOD1V7+j0UC EK2CtLfa1EtM9TsAkcD8kyMOqI5qYlJcF2MmBt5lDZLoc7l1jkWo+CZo6drZwQb6yGiA cZTpHC8FW+NIRpDzAxXJwfKa+sGx1pSoa5vUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=QMglLO60d95lLM87/p7VVM/H8M35hRR4ESg+XFfiHmuRGfcdV13zXwQZOWMKcvF1Mg c0UZPB4/b9lfhma+BLkgDKnPNuFXh3HlcntTM0S43b6eIGSJgIGo7aV3ulbr4D8N9/XV jnXw9n3cLgQHk/fw8uqE9+c2XLjK01GtzfYUc= MIME-Version: 1.0 Received: by 10.204.11.6 with SMTP id r6mr978841bkr.29.1262786441292; Wed, 06 Jan 2010 06:00:41 -0800 (PST) From: Vimal Singh Date: Wed, 6 Jan 2010 19:30:21 +0530 Message-ID: Subject: [PATCH 1/3][NAND][OMAP]: Fixing compilation warning for 'nand/omap2.c' To: Linux MTD Cc: linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 1bb799f..4eea97c 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c @@ -505,7 +505,7 @@ static void omap_write_buf_dma_pref(struct mtd_info *mtd, omap_write_buf_pref(mtd, buf, len); else /* start transfer in DMA mode */ - omap_nand_dma_transfer(mtd, buf, len, 0x1); + omap_nand_dma_transfer(mtd, (u_char *) buf, len, 0x1); } /**