From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752669Ab2ABMAG (ORCPT ); Mon, 2 Jan 2012 07:00:06 -0500 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:38706 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752316Ab2ABMAE (ORCPT ); Mon, 2 Jan 2012 07:00:04 -0500 Date: Mon, 2 Jan 2012 11:59:59 +0000 From: Mark Brown To: Thomas Abraham Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rpurdie@rpsys.net, linux-samsung-soc@vger.kernel.org, grant.likely@secretlab.ca, rob.herring@calxeda.com, kgene.kim@samsung.com, jg1.han@samsung.com, kyungmin.park@samsung.com, cbou@mail.ru, kwangwoo.lee@gmail.com, augulis.darius@gmail.com, ben-linux@fluff.org, patches@linaro.org Subject: Re: [RFC][PATCH 1/4] lcd: platform-lcd: Eliminate need for platform data Message-ID: <20120102115959.GG2899@opensource.wolfsonmicro.com> References: <1325483675-21908-1-git-send-email-thomas.abraham@linaro.org> <1325483675-21908-2-git-send-email-thomas.abraham@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1325483675-21908-2-git-send-email-thomas.abraham@linaro.org> X-Cookie: You now have Asian Flu. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 02, 2012 at 11:24:32AM +0530, Thomas Abraham wrote: > @@ -10,12 +10,3 @@ > * published by the Free Software Foundation. > * > */ > - > -struct plat_lcd_data; > -struct fb_info; > - > -struct plat_lcd_data { > - void (*set_power)(struct plat_lcd_data *, unsigned int power); > - int (*match_fb)(struct plat_lcd_data *, struct fb_info *); > -}; This is going to break all existing users as it will stop them compiling - they'd either need to be converted en masse to the new style as part of the commit doing this or the driver would need to support both platform data and new style configuration simultaneously.