Net: ethernet: pe2.c: fix EXPORT_SYMBOL macro code style issue

Submitted by Chihau Chau on July 14, 2010, 8:24 p.m.

Details

Message ID 1279139074-13040-1-git-send-email-chihau@gmail.com
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Chihau Chau July 14, 2010, 8:24 p.m.
From: Chihau Chau <chihau@gmail.com>

This patch fix a code style issuei, if a function is exported, the
EXPORT_SYMBOL macro for it should follow immediately after the closing
function brace line.

Signed-off-by: Chihau Chau <chihau@gmail.com>
---
 net/ethernet/pe2.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Comments

David Miller July 15, 2010, 1:27 a.m.
From: Chihau Chau <chihau@gmail.com>
Date: Wed, 14 Jul 2010 16:24:34 -0400

> From: Chihau Chau <chihau@gmail.com>
> 
> This patch fix a code style issuei, if a function is exported, the
> EXPORT_SYMBOL macro for it should follow immediately after the closing
> function brace line.
> 
> Signed-off-by: Chihau Chau <chihau@gmail.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

diff --git a/net/ethernet/pe2.c b/net/ethernet/pe2.c
index eb00796..85d574a 100644
--- a/net/ethernet/pe2.c
+++ b/net/ethernet/pe2.c
@@ -28,11 +28,10 @@  struct datalink_proto *make_EII_client(void)
 
 	return proto;
 }
+EXPORT_SYMBOL(make_EII_client);
 
 void destroy_EII_client(struct datalink_proto *dl)
 {
 	kfree(dl);
 }
-
 EXPORT_SYMBOL(destroy_EII_client);
-EXPORT_SYMBOL(make_EII_client);