From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Tue, 12 May 2009 10:50:14 +0000 Subject: Re: [PATCH] video: add sh_mobile_lcdcfb memory resource Message-Id: <20090512105013.GA20500@linux-sh.org> List-Id: References: <20090512095745.25477.87326.sendpatchset@rx1.opensource.se> In-Reply-To: <20090512095745.25477.87326.sendpatchset@rx1.opensource.se> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Magnus Damm Cc: linux-sh@vger.kernel.org, linux-fbdev-devel@lists.sourceforge.net On Tue, May 12, 2009 at 06:57:45PM +0900, Magnus Damm wrote: > From: Magnus Damm > > This patch adds memory resource support to the LCDC driver. > With this applied the physical memory range used for framebuffer > data will show up in /proc/iomem together with other SuperH > Mobile devices. > > Signed-off-by: Magnus Damm Drivers have no place doing this on their own, besides, insert_resource() is not available to modules. The platform device code already takes care of this, so perhaps I am missing what the point of this change is?