From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Antonino A. Daplas" Subject: [PATCH 2/7] vga16fb: Convert vga16fb as a platform device Date: Mon, 07 Nov 2005 19:15:57 +0800 Message-ID: <436F376D.5000208@gmail.com> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EZ5BX-0004Uk-Cr for linux-fbdev-devel@lists.sourceforge.net; Mon, 07 Nov 2005 03:29:11 -0800 Received: from xproxy.gmail.com ([66.249.82.192]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EZ5BW-0006Hq-ML for linux-fbdev-devel@lists.sourceforge.net; Mon, 07 Nov 2005 03:29:11 -0800 Received: by xproxy.gmail.com with SMTP id i28so364656wxd for ; Mon, 07 Nov 2005 03:29:10 -0800 (PST) Sender: linux-fbdev-devel-admin@lists.sourceforge.net Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Andrew Morton Cc: Linux Fbdev development list - Convert vga16fb as a platform device - use framebuffer_alloc() to dynamically allocate resources, and framebuffer_release() to free - remove unneeded casts - trivial whitespace changes Signed-off-by: Antonino Daplas --- vga16fb.c | 169 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 110 insertions(+), 59 deletions(-) diff --git a/drivers/video/vga16fb.c b/drivers/video/vga16fb.c index 690bb6f..226ae8a 100644 --- a/drivers/video/vga16fb.c +++ b/drivers/video/vga16fb.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include