Date: Sun, 1 Dec 2019 20:43:38 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r355271 - in head/sys: arm/samsung/exynos arm/versatile arm/xilinx dev/gpio dev/quicc dev/rp powerpc/psim Message-ID: <201912012043.xB1KhcCa024554@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Sun Dec 1 20:43:37 2019 New Revision: 355271 URL: https://svnweb.freebsd.org/changeset/base/355271 Log: Remove more needless <sys/tty.h> includes As part of my journey to make it easy to determine what's relying on tty bits, remove a couple more. Some of these just outright didn't need it, while others did rely on <sys/tty.h> pollution for mutex headers. Modified: head/sys/arm/samsung/exynos/chrome_kb.c head/sys/arm/samsung/exynos/exynos_uart.c head/sys/arm/versatile/pl050.c head/sys/arm/xilinx/uart_dev_cdnc.c head/sys/dev/gpio/gpiokeys.c head/sys/dev/quicc/quicc_bfe_fdt.c head/sys/dev/rp/rp_isa.c head/sys/dev/rp/rp_pci.c head/sys/powerpc/psim/uart_iobus.c Modified: head/sys/arm/samsung/exynos/chrome_kb.c ============================================================================== --- head/sys/arm/samsung/exynos/chrome_kb.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/arm/samsung/exynos/chrome_kb.c Sun Dec 1 20:43:37 2019 (r355271) @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include <sys/ioccom.h> #include <sys/filio.h> -#include <sys/tty.h> #include <sys/kbio.h> #include <machine/bus.h> Modified: head/sys/arm/samsung/exynos/exynos_uart.c ============================================================================== --- head/sys/arm/samsung/exynos/exynos_uart.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/arm/samsung/exynos/exynos_uart.c Sun Dec 1 20:43:37 2019 (r355271) @@ -34,7 +34,6 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <sys/conf.h> #include <sys/cons.h> -#include <sys/tty.h> #include <sys/rman.h> #include <machine/bus.h> #include <machine/intr.h> Modified: head/sys/arm/versatile/pl050.c ============================================================================== --- head/sys/arm/versatile/pl050.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/arm/versatile/pl050.c Sun Dec 1 20:43:37 2019 (r355271) @@ -35,8 +35,10 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/bus.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/module.h> #include <sys/malloc.h> +#include <sys/mutex.h> #include <sys/rman.h> #include <sys/proc.h> #include <sys/sched.h> @@ -52,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include <sys/ioccom.h> #include <sys/filio.h> -#include <sys/tty.h> #include <sys/kbio.h> #include <dev/kbd/kbdreg.h> Modified: head/sys/arm/xilinx/uart_dev_cdnc.c ============================================================================== --- head/sys/arm/xilinx/uart_dev_cdnc.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/arm/xilinx/uart_dev_cdnc.c Sun Dec 1 20:43:37 2019 (r355271) @@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <sys/conf.h> #include <sys/cons.h> -#include <sys/tty.h> #include <machine/bus.h> #include <dev/uart/uart.h> Modified: head/sys/dev/gpio/gpiokeys.c ============================================================================== --- head/sys/dev/gpio/gpiokeys.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/dev/gpio/gpiokeys.c Sun Dec 1 20:43:37 2019 (r355271) @@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$"); #include <sys/ioccom.h> #include <sys/filio.h> -#include <sys/tty.h> #include <sys/kbio.h> #include <dev/kbd/kbdreg.h> Modified: head/sys/dev/quicc/quicc_bfe_fdt.c ============================================================================== --- head/sys/dev/quicc/quicc_bfe_fdt.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/dev/quicc/quicc_bfe_fdt.c Sun Dec 1 20:43:37 2019 (r355271) @@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$"); #include <sys/malloc.h> #include <sys/module.h> #include <sys/rman.h> -#include <sys/tty.h> #include <machine/bus.h> #include <dev/ofw/ofw_bus.h> Modified: head/sys/dev/rp/rp_isa.c ============================================================================== --- head/sys/dev/rp/rp_isa.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/dev/rp/rp_isa.c Sun Dec 1 20:43:37 2019 (r355271) @@ -43,10 +43,11 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/fcntl.h> #include <sys/malloc.h> -#include <sys/tty.h> #include <sys/conf.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/module.h> +#include <sys/mutex.h> #include <machine/resource.h> #include <machine/bus.h> #include <sys/bus.h> Modified: head/sys/dev/rp/rp_pci.c ============================================================================== --- head/sys/dev/rp/rp_pci.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/dev/rp/rp_pci.c Sun Dec 1 20:43:37 2019 (r355271) @@ -42,10 +42,11 @@ __FBSDID("$FreeBSD$"); #include <sys/systm.h> #include <sys/fcntl.h> #include <sys/malloc.h> -#include <sys/tty.h> #include <sys/conf.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/module.h> +#include <sys/mutex.h> #include <machine/resource.h> #include <machine/bus.h> #include <sys/bus.h> Modified: head/sys/powerpc/psim/uart_iobus.c ============================================================================== --- head/sys/powerpc/psim/uart_iobus.c Sun Dec 1 20:43:04 2019 (r355270) +++ head/sys/powerpc/psim/uart_iobus.c Sun Dec 1 20:43:37 2019 (r355271) @@ -42,7 +42,6 @@ #include <sys/malloc.h> #include <sys/mutex.h> #include <sys/module.h> -#include <sys/tty.h> #include <machine/bus.h> #include <sys/timepps.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912012043.xB1KhcCa024554>