From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b7nBB-0003gM-4b for barebox@lists.infradead.org; Tue, 31 May 2016 17:10:09 +0000 Received: by mail-pf0-x243.google.com with SMTP id 62so13902160pfd.3 for ; Tue, 31 May 2016 10:09:53 -0700 (PDT) From: Andrey Smirnov Date: Tue, 31 May 2016 10:09:21 -0700 Message-Id: <1464714580-31488-3-git-send-email-andrew.smirnov@gmail.com> In-Reply-To: <1464714580-31488-1-git-send-email-andrew.smirnov@gmail.com> References: <1464714580-31488-1-git-send-email-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 02/21] e1000: Include in e1000.h To: barebox@lists.infradead.org Cc: Andrey Smirnov That header(e1000.h) uses a number of definitions from net.h, so for it to be self-contained it needs to include that file. This change also allows to remove includes of net.h from other files. Signed-off-by: Andrey Smirnov --- drivers/net/e1000/e1000.h | 1 + drivers/net/e1000/eeprom.c | 1 - drivers/net/e1000/main.c | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h index 82ff32e..19faf0b 100644 --- a/drivers/net/e1000/e1000.h +++ b/drivers/net/e1000/e1000.h @@ -17,6 +17,7 @@ */ #include +#include #ifndef _E1000_HW_H_ #define _E1000_HW_H_ diff --git a/drivers/net/e1000/eeprom.c b/drivers/net/e1000/eeprom.c index fb39a85..cc9199b 100644 --- a/drivers/net/e1000/eeprom.c +++ b/drivers/net/e1000/eeprom.c @@ -1,6 +1,5 @@ #include #include -#include #include #include "e1000.h" diff --git a/drivers/net/e1000/main.c b/drivers/net/e1000/main.c index 552b0dc..f5eb086 100644 --- a/drivers/net/e1000/main.c +++ b/drivers/net/e1000/main.c @@ -31,7 +31,6 @@ tested on both gig copper and gig fiber boards #include #include -#include #include #include #include -- 2.5.5 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox