summaryrefslogtreecommitdiff
path: root/debian/patches/04-fix-manpage-warning.dpatch
blob: 21e8fd11e8b24b54cab07d5ec7a802140625b3b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh /usr/share/dpatch/dpatch-run
## 04-fix-manpage-warning.dpatch
##
## DP: Fix warning in manpage caused by unknown symbol (fixes a lintian
## DP: warning).

diff --git a/doc/cscope.1 b/doc/cscope.1
index 6a3a86b..194cf0c 100644
--- a/doc/cscope.1
+++ b/doc/cscope.1
@@ -1,4 +1,3 @@
-.PU
 .TH CSCOPE "1" "January 2007" "The Santa Cruz Operation"
 .SH NAME
 cscope - interactively examine a C program 
11-23 13:37:08 -0300 committerMark Brown <broonie@kernel.org>2016-11-23 16:42:08 +0000 commit01affe239c642c2c6fccfcc97a8cf661e1ae07b4 (patch) treefa9ec279ebb6e986478e9a5377fc817391cb2966 parent1001354ca34179f3db924eb66672442a173147dc (diff)
spi: spi-axi: Fix module autoload
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo drivers/spi/spi-axi-spi-engine.ko | grep alias $ After this patch: $ modinfo drivers/spi/spi-axi-spi-engine.ko | grep alias alias: of:N*T*Cadi,axi-spi-engine-1.00.aC* alias: of:N*T*Cadi,axi-spi-engine-1.00.a Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat