]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: fix blackfin gptimers-example build errors
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 16 Jan 2015 22:35:48 +0000 (14:35 -0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 28 Jan 2015 19:07:58 +0000 (12:07 -0700)
commit3adf00652908d51a73813c1757c50d44791966eb
treebdda2e7403439a201a97e0131c5c4a9b7cbb5ac0
parent8384850c1a1cb2f9194315b9382d3d4620f08b16
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>
Documentation/blackfin/Makefile