From 0612651debd53604eb98e8d1fa571ecdb1c77d98 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 20 Oct 2017 20:20:01 +0300 Subject: [PATCH] drivers: slip: Consolidate under drivers/net/ Make drivers/net/ be the place for misc networking-related drivers (otherwise, we'd need to have a new dir per driver). Signed-off-by: Paul Sokolovsky --- drivers/Kconfig | 2 +- drivers/Makefile | 2 +- drivers/{slip => net}/Kconfig | 2 +- drivers/{slip => net}/Makefile | 0 drivers/{slip => net}/slip.c | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename drivers/{slip => net}/Kconfig (98%) rename drivers/{slip => net}/Makefile (100%) rename drivers/{slip => net}/slip.c (100%) diff --git a/drivers/Kconfig b/drivers/Kconfig index a8280a0fe1d..a08f64bf94d 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -22,7 +22,7 @@ source "drivers/console/Kconfig" source "drivers/ethernet/Kconfig" -source "drivers/slip/Kconfig" +source "drivers/net/Kconfig" source "drivers/serial/Kconfig" diff --git a/drivers/Makefile b/drivers/Makefile index fff01de9dff..b48fcf5d1eb 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -19,7 +19,7 @@ obj-$(CONFIG_I2S) += i2s/ obj-$(CONFIG_PWM) += pwm/ obj-$(CONFIG_ADC) += adc/ obj-$(CONFIG_NET_L2_ETHERNET) += ethernet/ -obj-$(CONFIG_SLIP) += slip/ +obj-$(CONFIG_NETWORKING) += net/ obj-$(CONFIG_IEEE802154) += ieee802154/ obj-$(CONFIG_WATCHDOG) += watchdog/ obj-$(CONFIG_RTC) += rtc/ diff --git a/drivers/slip/Kconfig b/drivers/net/Kconfig similarity index 98% rename from drivers/slip/Kconfig rename to drivers/net/Kconfig index a152052b84f..857bb5239fd 100644 --- a/drivers/slip/Kconfig +++ b/drivers/net/Kconfig @@ -1,4 +1,4 @@ -# Kconfig - SLIP driver configuration options +# Kconfig - Misc network drivers configuration options # # Copyright (c) 2016 Intel Corporation diff --git a/drivers/slip/Makefile b/drivers/net/Makefile similarity index 100% rename from drivers/slip/Makefile rename to drivers/net/Makefile diff --git a/drivers/slip/slip.c b/drivers/net/slip.c similarity index 100% rename from drivers/slip/slip.c rename to drivers/net/slip.c