From 90526e9fbac47af16d70f323feae45d8d1b0f9b7 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:39:56 -0600 Subject: common: Drop net.h from common header Move this header out of the common header. Network support is used in quite a few places but it still does not warrant blanket inclusion. Note that this net.h header itself has quite a lot in it. It could be split into the driver-mode support, functions, structures, checksumming, etc. Signed-off-by: Simon Glass --- drivers/usb/cdns3/ep0.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/usb/cdns3') diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index 1957a3b91d5..4266bd630c3 100644 --- a/drivers/usb/cdns3/ep0.c +++ b/drivers/usb/cdns3/ep0.c @@ -11,6 +11,7 @@ */ #include +#include #include #include #include -- cgit v1.2.3 From f7ae49fc4f363a803dab3be078e93ead8e75a8e9 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:05 -0600 Subject: common: Drop log.h from common header Move this header out of the common header. Signed-off-by: Simon Glass --- drivers/usb/cdns3/core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/usb/cdns3') diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c index ce846488a89..82ebd618237 100644 --- a/drivers/usb/cdns3/core.c +++ b/drivers/usb/cdns3/core.c @@ -13,6 +13,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3 From eb41d8a1befc45a30ccdab68fa3e099528486ffe Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:08 -0600 Subject: common: Drop linux/bug.h from common header Move this uncommon header out of the common header. Signed-off-by: Simon Glass --- drivers/usb/cdns3/core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/usb/cdns3') diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c index 82ebd618237..ea86a250608 100644 --- a/drivers/usb/cdns3/core.c +++ b/drivers/usb/cdns3/core.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3 From c05ed00afb95fa5237f16962fccf5810437317bf Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:11 -0600 Subject: common: Drop linux/delay.h from common header Move this uncommon header out of the common header. Signed-off-by: Simon Glass --- drivers/usb/cdns3/ep0.c | 1 + drivers/usb/cdns3/gadget.c | 1 + 2 files changed, 2 insertions(+) (limited to 'drivers/usb/cdns3') diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index 4266bd630c3..4a6374c4928 100644 --- a/drivers/usb/cdns3/ep0.c +++ b/drivers/usb/cdns3/ep0.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index caed27c32f9..f5b6e5be64f 100644 --- a/drivers/usb/cdns3/gadget.c +++ b/drivers/usb/cdns3/gadget.c @@ -59,6 +59,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3 From cd93d625fd751d55c729c78b10f82109d56a5f1d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 10 May 2020 11:40:13 -0600 Subject: common: Drop linux/bitops.h from common header Move this uncommon header out of the common header. Signed-off-by: Simon Glass --- drivers/usb/cdns3/cdns3-ti.c | 1 + drivers/usb/cdns3/drd.h | 1 + drivers/usb/cdns3/ep0.c | 1 + drivers/usb/cdns3/gadget.c | 1 + drivers/usb/cdns3/gadget.h | 1 + 5 files changed, 5 insertions(+) (limited to 'drivers/usb/cdns3') diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index 652cd5cb17a..cd7b2113ace 100644 --- a/drivers/usb/cdns3/cdns3-ti.c +++ b/drivers/usb/cdns3/cdns3-ti.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/cdns3/drd.h b/drivers/usb/cdns3/drd.h index 815b93f2fb4..fffda7b43a4 100644 --- a/drivers/usb/cdns3/drd.h +++ b/drivers/usb/cdns3/drd.h @@ -9,6 +9,7 @@ #ifndef __LINUX_CDNS3_DRD #define __LINUX_CDNS3_DRD +#include #include #include #include "core.h" diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index 4a6374c4928..a08c6945590 100644 --- a/drivers/usb/cdns3/ep0.c +++ b/drivers/usb/cdns3/ep0.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index f5b6e5be64f..8f81d17ec8e 100644 --- a/drivers/usb/cdns3/gadget.c +++ b/drivers/usb/cdns3/gadget.c @@ -59,6 +59,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/usb/cdns3/gadget.h b/drivers/usb/cdns3/gadget.h index 3d5242b331d..8803fa48bd3 100644 --- a/drivers/usb/cdns3/gadget.h +++ b/drivers/usb/cdns3/gadget.h @@ -11,6 +11,7 @@ */ #ifndef __LINUX_CDNS3_GADGET #define __LINUX_CDNS3_GADGET +#include #include /* -- cgit v1.2.3