[RFC 1/3 2.6.24] fbdev: platforming metronomefb and hecubafb
From: Jaya Kumar <hidden>
Date: 2008-03-29 09:48:30
Hi Tony, Geert, Andrew, fbdev, Following are 2 patches. They are my first pass at splitting metronomefb and hecubafb into platform independent (platform drivers) and platform specific (platform devices) drivers which are am200epd (arm) and n411 (x86). This code works okay but I'm having some trouble figuring out why module refcounting and unloading doesn't work on my platform device side of things. So that's on the todolist. I stuck the headers in include/video but I'm not sure if that was the right thing to do. I noticed some of the other headers in there are there in order to share headers with userspace. Would it be better if I made an include/linux/video or just stuck it in include/linux/ itself? The overall diffstat is appended below. I would be grateful for any feedback on this. Thanks, jaya Signed-off-by: Jaya Kumar <redacted> --- Documentation/fb/metronomefb.txt | 16 -- drivers/video/Kconfig | 33 ++-- drivers/video/Makefile | 2 drivers/video/am200epd.c | 278 ++++++++++++++++++++++++++++++++++ drivers/video/hecubafb.c | 294 ++++++++---------------------------- drivers/video/metronomefb.c | 310 +++++---------------------------------- drivers/video/n411.c | 192 ++++++++++++++++++++++++ include/video/hecubafb.h | 50 ++++++ include/video/metronomefb.h | 61 +++++++ 9 files changed, 726 insertions(+), 510 deletions(-) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace