Commit f9da8d15 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Dmitry Torokhov

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: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: default avatarHenk Vergonet <henk.vergonet@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent e8f462d2
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/rwsem.h> #include <linux/rwsem.h>
#include <linux/usb/input.h> #include <linux/usb/input.h>
#include <linux/map_to_7segment.h>
#include "map_to_7segment.h"
#include "yealink.h" #include "yealink.h"
#define DRIVER_VERSION "yld-20051230" #define DRIVER_VERSION "yld-20051230"
......
...@@ -106,6 +106,7 @@ header-y += keyctl.h ...@@ -106,6 +106,7 @@ header-y += keyctl.h
header-y += limits.h header-y += limits.h
header-y += magic.h header-y += magic.h
header-y += major.h header-y += major.h
header-y += map_to_7segment.h
header-y += matroxfb.h header-y += matroxfb.h
header-y += meye.h header-y += meye.h
header-y += minix_fs.h header-y += minix_fs.h
......
/* /*
* drivers/usb/input/map_to_7segment.h
*
* Copyright (c) 2005 Henk Vergonet <Henk.Vergonet@gmail.com> * Copyright (c) 2005 Henk Vergonet <Henk.Vergonet@gmail.com>
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -36,7 +34,7 @@ ...@@ -36,7 +34,7 @@
* Usage: * Usage:
* *
* Register a map variable, and fill it with a character set: * 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: * Then use for conversion:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment