From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4B563DE6B9 for ; Thu, 27 Mar 2008 01:47:28 +1100 (EST) In-Reply-To: <200803261344.03438.laurentp@cse-semaphore.com> References: <200803261344.03438.laurentp@cse-semaphore.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <346860fa1e8a75a4a89e260011690659@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH 1/2] [MTD] Add support for RAM & ROM mappings in the physmap_of MTD driver. Date: Wed, 26 Mar 2008 15:45:07 +0100 To: Laurent Pinchart Cc: ben@simtec.co.uk, linuxppc-dev@ozlabs.org, linux-mtd@lists.infradead.org, David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > { > + .compatible = "physmap-ram", > + .data = (void *)"map_ram", > + }, > + { > + .compatible = "physmap-rom", > + .data = (void *)"map_rom", > + }, Why the cast? It's redundant afaics. Segher