2008-12-11 22:55:27

by Hannes Eder

[permalink] [raw]
Subject: [PATCH 4/9][v2] mISDN: un-export symbol 'plx_lock'

'plx_lock' is only used within hfcmulti.c.

Fix this warning:

drivers/isdn/hardware/mISDN/hfcmulti.c:176:1: warning: symbol 'plx_lock' shadows an earlier one
drivers/isdn/hardware/mISDN/hfcmulti.c:175:19: originally declared here

Signed-off-by: Hannes Eder <[email protected]>
Acked-by: Karsten Keil <[email protected]>
---
drivers/isdn/hardware/mISDN/hfcmulti.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c
index 599d832..970201d 100644
--- a/drivers/isdn/hardware/mISDN/hfcmulti.c
+++ b/drivers/isdn/hardware/mISDN/hfcmulti.c
@@ -173,7 +173,6 @@ static int interrupt_registered;
static struct hfc_multi *syncmaster;
static int plxsd_master; /* if we have a master card (yet) */
static spinlock_t plx_lock; /* may not acquire other lock inside */
-EXPORT_SYMBOL(plx_lock);

#define TYP_E1 1
#define TYP_4S 4
--
1.5.6.3


2008-12-13 05:16:30

by David Miller

[permalink] [raw]
Subject: Re: [PATCH 4/9][v2] mISDN: un-export symbol 'plx_lock'

From: Hannes Eder <[email protected]>
Date: Thu, 11 Dec 2008 22:36:00 +0100

> 'plx_lock' is only used within hfcmulti.c.
>
> Fix this warning:
>
> drivers/isdn/hardware/mISDN/hfcmulti.c:176:1: warning: symbol 'plx_lock' shadows an earlier one
> drivers/isdn/hardware/mISDN/hfcmulti.c:175:19: originally declared here
>
> Signed-off-by: Hannes Eder <[email protected]>
> Acked-by: Karsten Keil <[email protected]>

Applied.