tmp_suning_uos_patched/drivers/input/serio
Joe Millenbach 4f73bc4dd3 tty: Added a CONFIG_TTY option to allow removal of TTY
The option allows you to remove TTY and compile without errors. This
saves space on systems that won't support TTY interfaces anyway.
bloat-o-meter output is below.

The bulk of this patch consists of Kconfig changes adding "depends on
TTY" to various serial devices and similar drivers that require the TTY
layer.  Ideally, these dependencies would occur on a common intermediate
symbol such as SERIO, but most drivers "select SERIO" rather than
"depends on SERIO", and "select" does not respect dependencies.

bloat-o-meter output comparing our previous minimal to new minimal by
removing TTY.  The list is filtered to not show removed entries with awk
'$3 != "-"' as the list was very long.

add/remove: 0/226 grow/shrink: 2/14 up/down: 6/-35356 (-35350)
function                                     old     new   delta
chr_dev_init                                 166     170      +4
allow_signal                                  80      82      +2
static.__warned                              143     142      -1
disallow_signal                               63      62      -1
__set_special_pids                            95      94      -1
unregister_console                           126     121      -5
start_kernel                                 546     541      -5
register_console                             593     588      -5
copy_from_user                                45      40      -5
sys_setsid                                   128     120      -8
sys_vhangup                                   32      19     -13
do_exit                                     1543    1526     -17
bitmap_zero                                   60      40     -20
arch_local_irq_save                          137     117     -20
release_task                                 674     652     -22
static.spin_unlock_irqrestore                308     260     -48

Signed-off-by: Joe Millenbach <jmillenbach@gmail.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-18 16:15:27 -08:00
..
altera_ps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
ambakmi.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
ams_delta_serio.c ARM: OMAP1: Move board-ams-delta.h from plat to mach 2012-09-20 15:02:19 -07:00
arc_ps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
at32psif.c Merge commit 'v3.3-rc6' into next 2012-03-09 10:55:17 -08:00
ct82c710.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
gscps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
hil_mlc.c Input: HIL - do not call tasklet_disable right before tasklet_kill 2012-11-25 00:10:13 -08:00
hp_sdc_mlc.c
hp_sdc.c input/serio/hp_sdc.c: remove IRQF_SAMPLE_RANDOM which is now a no-op 2012-07-19 10:38:34 -04:00
i8042-io.h Input: i8042-io - fix up region handling on MIPS 2012-10-17 23:58:56 -07:00
i8042-ip22io.h
i8042-jazzio.h
i8042-ppcio.h
i8042-snirm.h
i8042-sparcio.h Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
i8042-unicore32io.h unicore32 io: redefine __REG(x) and re-use readl/writel funcs 2011-03-17 09:19:19 +08:00
i8042-x86ia64io.h x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops 2012-12-11 14:55:16 -08:00
i8042.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
i8042.h unicore32 machine related files: ps2 driver 2011-03-17 09:19:15 +08:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
libps2.c Input: libps2.c: fix comment typo arrrives. 2011-06-27 12:28:56 +02:00
maceps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
Makefile Input: serio - add ARC PS/2 driver 2012-10-22 22:48:32 -07:00
parkbd.c
pcips2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
ps2mult.c Input: serio - use module_serio_driver 2012-04-04 09:25:43 -07:00
q40kbd.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
rpckbd.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
sa1111ps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00
serio_raw.c Input: serio_raw - signal EFAULT even if read/write partially succeeds 2012-05-02 00:21:13 -07:00
serio.c Input: serio - remove CONFIG_HOTPLUG ifdefs 2012-11-24 00:03:39 -08:00
serport.c Revert "tty: make receive_buf() return the amout of bytes received" 2011-06-04 06:33:24 +09:00
xilinx_ps2.c Input: remove use of __devexit 2012-11-24 00:05:38 -08:00