diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-12-25 10:34:21 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-12-25 10:34:21 +0000 |
commit | f2e819380237b0e92478bed67d15b5b54476f519 (patch) | |
tree | 19cc9fa0e6d281012de5a788183a7305942a157d /target/linux/generic-2.6/files-2.6.31/include | |
parent | 68ac3bdb4c12ad20279b3a28beaa1b5f7d06db15 (diff) |
deduplicate kernel source files from 2.6.30-2.6.32 by moving them to generic files/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18927 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files-2.6.31/include')
4 files changed, 0 insertions, 108 deletions
diff --git a/target/linux/generic-2.6/files-2.6.31/include/linux/glamo-engine.h b/target/linux/generic-2.6/files-2.6.31/include/linux/glamo-engine.h deleted file mode 100644 index 516d45fa6e..0000000000 --- a/target/linux/generic-2.6/files-2.6.31/include/linux/glamo-engine.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef __GLAMO_ENGINE_H -#define __GLAMO_ENGINE_H - -enum glamo_engine { - GLAMO_ENGINE_CAPTURE = 0, - GLAMO_ENGINE_ISP = 1, - GLAMO_ENGINE_JPEG = 2, - GLAMO_ENGINE_MPEG_ENC = 3, - GLAMO_ENGINE_MPEG_DEC = 4, - GLAMO_ENGINE_LCD = 5, - GLAMO_ENGINE_CMDQ = 6, - GLAMO_ENGINE_2D = 7, - GLAMO_ENGINE_3D = 8, - GLAMO_ENGINE_MMC = 9, - GLAMO_ENGINE_MICROP0 = 10, - GLAMO_ENGINE_RISC = 11, - GLAMO_ENGINE_MICROP1_MPEG_ENC = 12, - GLAMO_ENGINE_MICROP1_MPEG_DEC = 13, -#if 0 - GLAMO_ENGINE_H264_DEC = 14, - GLAMO_ENGINE_RISC1 = 15, - GLAMO_ENGINE_SPI = 16, -#endif - __NUM_GLAMO_ENGINES -}; - -#endif diff --git a/target/linux/generic-2.6/files-2.6.31/include/linux/glamofb.h b/target/linux/generic-2.6/files-2.6.31/include/linux/glamofb.h deleted file mode 100644 index 5f9fab5a48..0000000000 --- a/target/linux/generic-2.6/files-2.6.31/include/linux/glamofb.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef _LINUX_GLAMOFB_H -#define _LINUX_GLAMOFB_H - -#include <linux/fb.h> - -#ifdef __KERNEL__ - -struct glamo_core; -struct glamofb_handle; - -struct glamo_fb_platform_data { - int width, height; - - int num_modes; - struct fb_videomode *modes; - - struct glamo_core *core; -}; - -int glamofb_cmd_mode(struct glamofb_handle *gfb, int on); -int glamofb_cmd_write(struct glamofb_handle *gfb, u_int16_t val); - -#ifdef CONFIG_MFD_GLAMO -void glamo_lcm_reset(struct platform_device *pdev, int level); -#else -#define glamo_lcm_reset(...) do {} while (0) -#endif - -#endif - -#define GLAMOFB_ENGINE_ENABLE _IOW('F', 0x1, __u32) -#define GLAMOFB_ENGINE_DISABLE _IOW('F', 0x2, __u32) -#define GLAMOFB_ENGINE_RESET _IOW('F', 0x3, __u32) - -#endif diff --git a/target/linux/generic-2.6/files-2.6.31/include/linux/gpio_buttons.h b/target/linux/generic-2.6/files-2.6.31/include/linux/gpio_buttons.h deleted file mode 100644 index f5e6297258..0000000000 --- a/target/linux/generic-2.6/files-2.6.31/include/linux/gpio_buttons.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Definitions for the GPIO buttons interface driver - * - * Copyright (C) 2007,2008 Gabor Juhos <juhosg at openwrt.org> - * - * This file was based on: /include/linux/gpio_keys.h - * The original gpio_keys.h seems not to have a license. - * - * 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. - * - */ - -#ifndef _GPIO_BUTTONS_H_ -#define _GPIO_BUTTONS_H_ - -struct gpio_button { - int gpio; /* GPIO line number */ - int active_low; - char *desc; /* button description */ - int type; /* input event type (EV_KEY, EV_SW) */ - int code; /* input event code (KEY_*, SW_*) */ - int count; - int threshold; /* count threshold */ -}; - -struct gpio_buttons_platform_data { - struct gpio_button *buttons; - int nbuttons; /* number of buttons */ - int poll_interval; /* polling interval */ -}; - -#endif /* _GPIO_BUTTONS_H_ */ - diff --git a/target/linux/generic-2.6/files-2.6.31/include/linux/gpio_dev.h b/target/linux/generic-2.6/files-2.6.31/include/linux/gpio_dev.h deleted file mode 100644 index 3f3c9c772c..0000000000 --- a/target/linux/generic-2.6/files-2.6.31/include/linux/gpio_dev.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef _GPIODEV_H__ -#define _GPIODEV_H__ - -#define IOC_GPIODEV_MAGIC 'B' -#define GPIO_GET _IO(IOC_GPIODEV_MAGIC, 10) -#define GPIO_SET _IO(IOC_GPIODEV_MAGIC, 11) -#define GPIO_CLEAR _IO(IOC_GPIODEV_MAGIC, 12) -#define GPIO_DIR_IN _IO(IOC_GPIODEV_MAGIC, 13) -#define GPIO_DIR_OUT _IO(IOC_GPIODEV_MAGIC, 14) - -#endif |