[2.6 patch] remove drivers/char/h8.{c,h}

From: Adrian Bunk
Date: Fri Jul 02 2004 - 17:42:22 EST


Hi Richard,

I didn't get an answer regarding the following mail sent one year ago:


----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Mon, 14 Jul 2003 00:43:30 +0200
From: Adrian Bunk <bunk@xxxxxxxxx>
To: rth@xxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Remove CONFIG_H8 in 2.5?

CONFIG_H8 in drivers/char/ depend in both 2.4 and 2.5 on
CONFIG_OBSOLETE.

Since CONFIG_OBSOLETE is never set it is not selectable.
Is there any reason why this driver should stay in the kernel or would
you accept a patch that removes this driver?

cu
Adrian


----- End forwarded message -----


Since this issue is still present in current 2.6 kernels, I'd suggest
the following:


rm drivers/char/h8.c
rm drivers/char/h8.h

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.7-mm5-full/drivers/char/Kconfig.old 2004-07-03 00:36:17.000000000 +0200
+++ linux-2.6.7-mm5-full/drivers/char/Kconfig 2004-07-03 00:36:39.000000000 +0200
@@ -795,16 +795,6 @@
This option enables support for the LCD display and buttons found
on Cobalt systems through a misc device.

-config H8
- bool "Tadpole ANA H8 Support (OBSOLETE)"
- depends on OBSOLETE && ALPHA_BOOK1
- help
- The Hitachi H8/337 is a microcontroller used to deal with the power
- and thermal environment. If you say Y here, you will be able to
- communicate with it via a character special device.
-
- If unsure, say N.
-
config DTLK
tristate "Double Talk PC internal speech card support"
help
--- linux-2.6.7-mm5-full/drivers/char/Makefile.old 2004-07-03 00:37:03.000000000 +0200
+++ linux-2.6.7-mm5-full/drivers/char/Makefile 2004-07-03 00:37:14.000000000 +0200
@@ -69,7 +69,6 @@
obj-$(CONFIG_QIC02_TAPE) += tpqic02.o
obj-$(CONFIG_FTAPE) += ftape/
obj-$(CONFIG_COBALT_LCD) += lcd.o
-obj-$(CONFIG_H8) += h8.o
obj-$(CONFIG_PPDEV) += ppdev.o
obj-$(CONFIG_NWBUTTON) += nwbutton.o
obj-$(CONFIG_NWFLASH) += nwflash.o


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/