From: Greg Kroah-Hartman Date: Sat, 1 May 2010 19:12:02 +0000 (-0700) Subject: Staging: comedi: more EXPORT_SYMBOL movement X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~294 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e42315177d278089ba7b1e623ecbd5b273b7e62b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: comedi: more EXPORT_SYMBOL movement Move the exports for the variables that are in range.c into the file itself. These variables should be prefixed with comedi_ but that's for a different patch... Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedi_ksyms.c b/drivers/staging/comedi/comedi_ksyms.c index 9dc04a62a039..cc0a399277cb 100644 --- a/drivers/staging/comedi/comedi_ksyms.c +++ b/drivers/staging/comedi/comedi_ksyms.c @@ -26,12 +26,6 @@ #include "comedidev.h" /* for drivers */ -EXPORT_SYMBOL(range_bipolar10); -EXPORT_SYMBOL(range_bipolar5); -EXPORT_SYMBOL(range_bipolar2_5); -EXPORT_SYMBOL(range_unipolar10); -EXPORT_SYMBOL(range_unipolar5); -EXPORT_SYMBOL(range_unknown); EXPORT_SYMBOL_GPL(comedi_pci_auto_config); EXPORT_SYMBOL_GPL(comedi_pci_auto_unconfig); EXPORT_SYMBOL_GPL(comedi_usb_auto_config); diff --git a/drivers/staging/comedi/range.c b/drivers/staging/comedi/range.c index c35ade94a12d..b5644cad2603 100644 --- a/drivers/staging/comedi/range.c +++ b/drivers/staging/comedi/range.c @@ -30,6 +30,12 @@ const struct comedi_lrange range_bipolar2_5 = { 1, {BIP_RANGE(2.5)} }; const struct comedi_lrange range_unipolar10 = { 1, {UNI_RANGE(10)} }; const struct comedi_lrange range_unipolar5 = { 1, {UNI_RANGE(5)} }; const struct comedi_lrange range_unknown = { 1, {{0, 1000000, UNIT_none} } }; +EXPORT_SYMBOL(range_bipolar10); +EXPORT_SYMBOL(range_bipolar5); +EXPORT_SYMBOL(range_bipolar2_5); +EXPORT_SYMBOL(range_unipolar10); +EXPORT_SYMBOL(range_unipolar5); +EXPORT_SYMBOL(range_unknown); /* COMEDI_RANGEINFO