2012-02-16 13:56:31

by Danny Kukawka

[permalink] [raw]
Subject: [PATCH] arch/blackfin/mach-bf537/boards/pnav10.c: included linux/export.h twice

arch/blackfin/mach-bf537/boards/pnav10.c: included 'linux/export.h'
twice. No need to include the file a second time in a #ifdef block
if already included at top. Remove the duplicate.

Signed-off-by: Danny Kukawka <[email protected]>
---
arch/blackfin/mach-bf537/boards/pnav10.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c
index 6fd8470..7d15a30 100644
--- a/arch/blackfin/mach-bf537/boards/pnav10.c
+++ b/arch/blackfin/mach-bf537/boards/pnav10.c
@@ -101,7 +101,6 @@ static struct platform_device smc91x_device = {

#if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE)
#include <linux/bfin_mac.h>
-#include <linux/export.h>
static const unsigned short bfin_mac_peripherals[] = P_RMII0;

static struct bfin_phydev_platform_data bfin_phydev_data[] = {
--
1.7.8.3


2012-02-17 03:25:57

by Mike Frysinger

[permalink] [raw]
Subject: Re: [PATCH] arch/blackfin/mach-bf537/boards/pnav10.c: included linux/export.h twice

On Thursday 16 February 2012 08:56:24 Danny Kukawka wrote:
> arch/blackfin/mach-bf537/boards/pnav10.c: included 'linux/export.h'
> twice. No need to include the file a second time in a #ifdef block
> if already included at top. Remove the duplicate.

thanks, added to the Blackfin tree!
-mike


Attachments:
signature.asc (836.00 B)
This is a digitally signed message part.