From 3015c7397876f5c5de0e178e2dfe22859b5d8754 Mon Sep 17 00:00:00 2001 From: Stefan Richter Date: Fri, 24 Nov 2006 20:19:09 +0100 Subject: [PATCH] ieee1394: conditionally export ieee1394_bus_type Follow-up to patch "Consolidate driver registering": Since I plan the lifetime of Linux 2.6.20 to be the deprecation phase of CONFIG_IEEE1394_EXPORT_FULL_API, it seems fair to keep all previously exported symbols available with this option until this phase is over. Signed-off-by: Stefan Richter --- Documentation/feature-removal-schedule.txt | 3 ++- drivers/ieee1394/ieee1394_core.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 3d5ffd0041..46f2a559b2 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt @@ -52,7 +52,8 @@ Who: Dan Dennedy , Stefan Richter What: ieee1394 core's unused exports (CONFIG_IEEE1394_EXPORT_FULL_API) When: January 2007 -Why: There are no projects known to use these exported symbols. +Why: There are no projects known to use these exported symbols, except + dfg1394 (uses one symbol whose functionality is core-internal now). Who: Stefan Richter --------------------------- diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c index 7778ab3e8e..9a48ca20d1 100644 --- a/drivers/ieee1394/ieee1394_core.c +++ b/drivers/ieee1394/ieee1394_core.c @@ -1240,6 +1240,7 @@ EXPORT_SYMBOL(hpsb_node_write); EXPORT_SYMBOL(__hpsb_register_protocol); EXPORT_SYMBOL(hpsb_unregister_protocol); #ifdef CONFIG_IEEE1394_EXPORT_FULL_API +EXPORT_SYMBOL(ieee1394_bus_type); EXPORT_SYMBOL(nodemgr_for_each_host); #endif -- 2.39.5