OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeb7491
)
[libata] make ali_atapi_dma static
author
Adrian Bunk
<bunk@kernel.org>
Fri, 11 Apr 2008 17:28:27 +0000
(20:28 +0300)
committer
Jeff Garzik
<jgarzik@redhat.com>
Sat, 12 Apr 2008 04:16:49 +0000
(
00:16
-0400)
This patch makes the needlessly global ali_atapi_dma static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_ali.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_ali.c
b/drivers/ata/pata_ali.c
index
ce830fe
..
511a830
100644
(file)
--- a/
drivers/ata/pata_ali.c
+++ b/
drivers/ata/pata_ali.c
@@
-36,7
+36,7
@@
#define DRV_NAME "pata_ali"
#define DRV_VERSION "0.7.5"
-int ali_atapi_dma = 0;
+
static
int ali_atapi_dma = 0;
module_param_named(atapi_dma, ali_atapi_dma, int, 0644);
MODULE_PARM_DESC(atapi_dma, "Enable ATAPI DMA (0=disable, 1=enable)");