linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] NFC: pn533: Staticise pn533_data_exchange()
@ 2011-11-30 10:18 Axel Lin
  2011-12-01 19:14 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-11-30 10:18 UTC (permalink / raw)
  To: linux-kernel
  Cc: Lauro Ramos Venancio, Aloisio Almeida Jr, Samuel Ortiz,
	John W. Linville, linux-wireless

It is not used outside this driver so no need to make the symbol global.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/nfc/pn533.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index bd02384..ea10f54 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -1339,7 +1339,7 @@ error:
 	return 0;
 }
 
-int pn533_data_exchange(struct nfc_dev *nfc_dev, u32 target_idx,
+static int pn533_data_exchange(struct nfc_dev *nfc_dev, u32 target_idx,
 						struct sk_buff *skb,
 						data_exchange_cb_t cb,
 						void *cb_context)
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] NFC: pn533: Staticise pn533_data_exchange()
  2011-11-30 10:18 [PATCH] NFC: pn533: Staticise pn533_data_exchange() Axel Lin
@ 2011-12-01 19:14 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2011-12-01 19:14 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, Lauro Ramos Venancio, Aloisio Almeida Jr,
	John W. Linville, linux-wireless

Hi Axel,

On Wed, Nov 30, 2011 at 06:18:06PM +0800, Axel Lin wrote:
> It is not used outside this driver so no need to make the symbol global.
> 
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-01 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 10:18 [PATCH] NFC: pn533: Staticise pn533_data_exchange() Axel Lin
2011-12-01 19:14 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).