summaryrefslogtreecommitdiffstats
path: root/drivers/fmc/fmc-private.h
diff options
context:
space:
mode:
authorFederico Vaga <federico.vaga@cern.ch>2017-07-18 08:33:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 16:24:21 +0200
commit2071a3e94abd34d65bd40f1ff845f9cea300dfa6 (patch)
tree7b115bbaf53ff854af74bc6b907bdd39688adc28 /drivers/fmc/fmc-private.h
parent9f757f415210a7c85e2784e4a1733ea78b2e4e88 (diff)
downloadlinux-stable-2071a3e94abd34d65bd40f1ff845f9cea300dfa6.tar.gz
linux-stable-2071a3e94abd34d65bd40f1ff845f9cea300dfa6.tar.bz2
linux-stable-2071a3e94abd34d65bd40f1ff845f9cea300dfa6.zip
drivers/fmc: The only way to dump the SDB is from debugfs
Driver should not call fmc_sdb_dump() anymore. (actually they can but the operation is not supported, so it will print an error message) Signed-off-by: Federico Vaga <federico.vaga@cern.ch> Tested-by: Pat Riehecky <riehecky@fnal.gov> Acked-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fmc/fmc-private.h')
-rw-r--r--drivers/fmc/fmc-private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/fmc/fmc-private.h b/drivers/fmc/fmc-private.h
new file mode 100644
index 000000000000..1e5136643bdc
--- /dev/null
+++ b/drivers/fmc/fmc-private.h
@@ -0,0 +1,9 @@
+/*
+ * Copyright (C) 2015 CERN (www.cern.ch)
+ * Author: Federico Vaga <federico.vaga@cern.ch>
+ *
+ * Released according to the GNU GPL, version 2 or any later version.
+ */
+
+extern int fmc_debug_init(struct fmc_device *fmc);
+extern void fmc_debug_exit(struct fmc_device *fmc);