From patchwork Wed Mar 27 08:46:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Prisk X-Patchwork-Id: 2348331 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id E8D633FD40 for ; Wed, 27 Mar 2013 08:49:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754470Ab3C0Iqt (ORCPT ); Wed, 27 Mar 2013 04:46:49 -0400 Received: from server.prisktech.co.nz ([115.188.14.127]:63025 "EHLO server.prisktech.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754385Ab3C0Iqn (ORCPT ); Wed, 27 Mar 2013 04:46:43 -0400 Received: from localhost.localdomain (unknown [192.168.0.102]) by server.prisktech.co.nz (Postfix) with ESMTP id 0C835FC09A1; Wed, 27 Mar 2013 21:46:41 +1300 (NZDT) From: Tony Prisk To: Tomi Valkeinen Cc: linux-fbdev@vger.kernel.org, florianschandinat@gmx.de, vt8500-wm8505-linux-kernel@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tony Prisk Subject: [PATCH 2/6] video: vt8500: Remove unused platform_data/video-vt8500lcdfb.h Date: Wed, 27 Mar 2013 21:46:57 +1300 Message-Id: <1364374021-10844-3-git-send-email-linux@prisktech.co.nz> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364374021-10844-1-git-send-email-linux@prisktech.co.nz> References: <1364374021-10844-1-git-send-email-linux@prisktech.co.nz> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org With the conversion to devicetree only for arch-vt8500, this header is no longer required. This patch removes the #include from the two framebuffer drivers that used it, and the header file. Signed-off-by: Tony Prisk --- drivers/video/vt8500lcdfb.c | 2 -- drivers/video/wm8505fb.c | 2 -- include/linux/platform_data/video-vt8500lcdfb.h | 31 ----------------------- 3 files changed, 35 deletions(-) delete mode 100644 include/linux/platform_data/video-vt8500lcdfb.h diff --git a/drivers/video/vt8500lcdfb.c b/drivers/video/vt8500lcdfb.c index d8cc1f6..1c34821 100644 --- a/drivers/video/vt8500lcdfb.c +++ b/drivers/video/vt8500lcdfb.c @@ -30,8 +30,6 @@ #include #include -#include - #include "vt8500lcdfb.h" #ifdef CONFIG_FB_WMT_GE_ROPS diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index db49803..ce23a00 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c @@ -32,8 +32,6 @@ #include #include -#include - #include "wm8505fb_regs.h" #ifdef CONFIG_FB_WMT_GE_ROPS diff --git a/include/linux/platform_data/video-vt8500lcdfb.h b/include/linux/platform_data/video-vt8500lcdfb.h deleted file mode 100644 index 7f399c3..0000000 --- a/include/linux/platform_data/video-vt8500lcdfb.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * VT8500/WM8505 Frame Buffer platform data definitions - * - * Copyright (C) 2010 Ed Spiridonov - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef _VT8500FB_H -#define _VT8500FB_H - -#include - -struct vt8500fb_platform_data { - struct fb_videomode mode; - u32 xres_virtual; - u32 yres_virtual; - u32 bpp; - unsigned long video_mem_phys; - void *video_mem_virt; - unsigned long video_mem_len; -}; - -#endif /* _VT8500FB_H */