mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] export device_rename
@ 2007-02-28 11:38 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-02-28 11:38 UTC (permalink / raw)
  To: Linux Kernel list; +Cc: Greg KH, linux-wireless

In wireless we'd like to allow renaming of the phy devices we surface in
sysfs. The base wireless code, however, can be built modular and thus we
need device_rename exported.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

---
Is this acceptable? For testing reasons we want the cfg80211 code
buildable as a module.

 drivers/base/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- wireless-dev.orig/drivers/base/core.c	2007-02-28 12:35:37.123956566 +0100
+++ wireless-dev/drivers/base/core.c	2007-02-28 12:35:51.763956566 +0100
@@ -1029,7 +1029,7 @@ int device_rename(struct device *dev, ch
 
 	return error;
 }
-
+EXPORT_SYMBOL_GPL(device_rename);
 
 static int device_move_class_links(struct device *dev,
 				   struct device *old_parent,



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-28 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 11:38 [PATCH] export device_rename Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®