From f7018c21350204c4cf628462f229d44d03545254 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 13 Feb 2014 15:31:38 +0200 Subject: video: move fbdev to drivers/video/fbdev The drivers/video directory is a mess. It contains generic video related files, directories for backlight, console, linux logo, lots of fbdev device drivers, fbdev framework files. Make some order into the chaos by creating drivers/video/fbdev directory, and move all fbdev related files there. No functionality is changed, although I guess it is possible that some subtle Makefile build order related issue could be created by this patch. Signed-off-by: Tomi Valkeinen Acked-by: Laurent Pinchart Acked-by: Geert Uytterhoeven Acked-by: Rob Clark Acked-by: Jingoo Han Acked-by: Daniel Vetter --- drivers/video/omap2/omapfb/Kconfig | 27 - drivers/video/omap2/omapfb/Makefile | 2 - drivers/video/omap2/omapfb/omapfb-ioctl.c | 922 ---------- drivers/video/omap2/omapfb/omapfb-main.c | 2656 ----------------------------- drivers/video/omap2/omapfb/omapfb-sysfs.c | 605 ------- drivers/video/omap2/omapfb/omapfb.h | 208 --- 6 files changed, 4420 deletions(-) delete mode 100644 drivers/video/omap2/omapfb/Kconfig delete mode 100644 drivers/video/omap2/omapfb/Makefile delete mode 100644 drivers/video/omap2/omapfb/omapfb-ioctl.c delete mode 100644 drivers/video/omap2/omapfb/omapfb-main.c delete mode 100644 drivers/video/omap2/omapfb/omapfb-sysfs.c delete mode 100644 drivers/video/omap2/omapfb/omapfb.h (limited to 'drivers/video/omap2/omapfb') diff --git a/drivers/video/omap2/omapfb/Kconfig b/drivers/video/omap2/omapfb/Kconfig deleted file mode 100644 index 4cb12ce68855..000000000000 --- a/drivers/video/omap2/omapfb/Kconfig +++ /dev/null @@ -1,27 +0,0 @@ -menuconfig FB_OMAP2 - tristate "OMAP2+ frame buffer support" - depends on FB && OMAP2_DSS && !DRM_OMAP - - select OMAP2_VRFB if ARCH_OMAP2 || ARCH_OMAP3 - select FB_CFB_FILLRECT - select FB_CFB_COPYAREA - select FB_CFB_IMAGEBLIT - help - Frame buffer driver for OMAP2+ based boards. - -config FB_OMAP2_DEBUG_SUPPORT - bool "Debug support for OMAP2+ FB" - default y - depends on FB_OMAP2 - help - Support for debug output. You have to enable the actual printing - with 'debug' module parameter. - -config FB_OMAP2_NUM_FBS - int "Number of framebuffers" - range 1 10 - default 3 - depends on FB_OMAP2 - help - Select the number of framebuffers created. OMAP2/3 has 3 overlays - so normally this would be 3. diff --git a/drivers/video/omap2/omapfb/Makefile b/drivers/video/omap2/omapfb/Makefile deleted file mode 100644 index 51c2e00d9bf8..000000000000 --- a/drivers/video/omap2/omapfb/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -obj-$(CONFIG_FB_OMAP2) += omapfb.o -omapfb-y := omapfb-main.o omapfb-sysfs.o omapfb-ioctl.o diff --git a/drivers/video/omap2/omapfb/omapfb-ioctl.c b/drivers/video/omap2/omapfb/omapfb-ioctl.c deleted file mode 100644 index 146b6f5428db..000000000000 --- a/drivers/video/omap2/omapfb/omapfb-ioctl.c +++ /dev/null @@ -1,922 +0,0 @@ -/* - * linux/drivers/video/omap2/omapfb-ioctl.c - * - * Copyright (C) 2008 Nokia Corporation - * Author: Tomi Valkeinen - * - * Some code and ideas taken from drivers/video/omap/ driver - * by Imre Deak. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published by - * the Free Software Foundation. - * - * 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. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include