[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080827.232913.119238767.anemo@mba.ocn.ne.jp>
Date: Wed, 27 Aug 2008 23:29:13 +0900 (JST)
From: Atsushi Nemoto <anemo@....ocn.ne.jp>
To: Henk.Vergonet@...il.com
Cc: dmitry.torokhov@...il.com, linux-kernel@...r.kernel.org
Subject: [PATCH] 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.
Signed-off-by: Atsushi Nemoto <anemo@....ocn.ne.jp>
---
This is renaming patch. I can send no-rename patch if requested.
drivers/input/misc/yealink.c | 2 +-
.../input/misc => include/linux}/map_to_7segment.h | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
rename {drivers/input/misc => include/linux}/map_to_7segment.h (99%)
diff --git a/drivers/input/misc/yealink.c b/drivers/input/misc/yealink.c
index facefd3..11b5c7e 100644
--- a/drivers/input/misc/yealink.c
+++ b/drivers/input/misc/yealink.c
@@ -52,8 +52,8 @@
#include <linux/module.h>
#include <linux/rwsem.h>
#include <linux/usb/input.h>
+#include <linux/map_to_7segment.h>
-#include "map_to_7segment.h"
#include "yealink.h"
#define DRIVER_VERSION "yld-20051230"
diff --git a/drivers/input/misc/map_to_7segment.h b/include/linux/map_to_7segment.h
similarity index 99%
rename from drivers/input/misc/map_to_7segment.h
rename to include/linux/map_to_7segment.h
index a424094..db45f7c 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 <Henk.Vergonet@...il.com>
*
* This program is free software; you can redistribute it and/or
--
1.5.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists