From: Atsushi Nemoto Date: Sat, 11 Oct 2008 03:14:14 +0000 (-0400) Subject: Input: move map_to_7segment.h to include/linux X-Git-Tag: v2.6.28-rc1~289^2^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f9da8d157b60d8c5bfc5a21fc50538fdb754a65b;p=linux-2.6-omap-h63xx.git Input: move map_to_7segment.h to include/linux The map_to_7segment.h provides generic 7segment LED mappings and is designed to be used by other drivers. Moving it to common area will make it more usable. Also exporting it to userspace will help users of sysfs interface. Signed-off-by: Atsushi Nemoto Acked-by: Henk Vergonet Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/yealink.c b/drivers/input/misc/yealink.c index facefd3dba2..11b5c7e84ed 100644 --- a/drivers/input/misc/yealink.c +++ b/drivers/input/misc/yealink.c @@ -52,8 +52,8 @@ #include #include #include +#include -#include "map_to_7segment.h" #include "yealink.h" #define DRIVER_VERSION "yld-20051230" diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 4c4142c5aa6..0b136c5990c 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -106,6 +106,7 @@ header-y += keyctl.h header-y += limits.h header-y += magic.h header-y += major.h +header-y += map_to_7segment.h header-y += matroxfb.h header-y += meye.h header-y += minix_fs.h diff --git a/drivers/input/misc/map_to_7segment.h b/include/linux/map_to_7segment.h similarity index 98% rename from drivers/input/misc/map_to_7segment.h rename to include/linux/map_to_7segment.h index a424094d9fe..7df8432c440 100644 --- a/drivers/input/misc/map_to_7segment.h +++ b/include/linux/map_to_7segment.h @@ -1,6 +1,4 @@ /* - * drivers/usb/input/map_to_7segment.h - * * Copyright (c) 2005 Henk Vergonet * * This program is free software; you can redistribute it and/or @@ -36,7 +34,7 @@ * Usage: * * Register a map variable, and fill it with a character set: - * static SEG7_DEFAULT_MAP(map_seg7); + * static SEG7_DEFAULT_MAP(map_seg7); * * * Then use for conversion: