summaryrefslogtreecommitdiffstats
path: root/Documentation/blackfin/Makefile
diff options
context:
space:
mode:
authorRandy Dunlap2015-01-16 23:35:48 +0100
committerJonathan Corbet2015-01-28 20:07:58 +0100
commite72a65292126fc87f53b6245ce51ff4d49dc914a (patch)
treebdda2e7403439a201a97e0131c5c4a9b7cbb5ac0 /Documentation/blackfin/Makefile
parentFixes column alignment in table of contents entry 1.9 in Documentation/filesy... (diff)
downloadkernel-qcow2-linux-e72a65292126fc87f53b6245ce51ff4d49dc914a.tar.gz
kernel-qcow2-linux-e72a65292126fc87f53b6245ce51ff4d49dc914a.tar.xz
kernel-qcow2-linux-e72a65292126fc87f53b6245ce51ff4d49dc914a.zip
Documentation: fix blackfin gptimers-example build errors
Don't build the blackfin gptimers-example module when BFIN_GPTIMERS is not enabled. Allow the build when BFIN_GPTIMERS is =y or =m. I believe that this patch fixes these build errors, but I don't have a build environment to test this. ERROR: "disable_gptimers" [Documentation/blackfin/gptimers-example.ko] undefined! ERROR: "enable_gptimers" [Documentation/blackfin/gptimers-example.ko] undefined! ERROR: "set_gptimer_config" [Documentation/blackfin/gptimers-example.ko] undefined! ERROR: "clear_gptimer_intr" [Documentation/blackfin/gptimers-example.ko] undefined! ERROR: "get_gptimer_period" [Documentation/blackfin/gptimers-example.ko] undefined! ERROR: "get_gptimer_pwidth" [Documentation/blackfin/gptimers-example.ko] undefined! ERROR: "get_gptimer_intr" [Documentation/blackfin/gptimers-example.ko] undefined! Reported-by: Fenggaung Wu <fengguang.wu@intel.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/blackfin/Makefile')
-rw-r--r--Documentation/blackfin/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/blackfin/Makefile b/Documentation/blackfin/Makefile
index c7e6c99bad81..03f78059d6f5 100644
--- a/Documentation/blackfin/Makefile
+++ b/Documentation/blackfin/Makefile
@@ -1,3 +1,5 @@
ifneq ($(CONFIG_BLACKFIN),)
+ifneq ($(CONFIG_BFIN_GPTIMERS,)
obj-m := gptimers-example.o
endif
+endif