aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-11 20:28:27 +0300
committerJeff Garzik <jgarzik@redhat.com>2008-04-12 00:16:49 -0400
commit1892225f788a73beae2ec26f6f2fa4cd2e5868d0 (patch)
treeb177522cdb32df406a8f0ee084e1170383f6daaf /drivers/ata
parentaeb74914ef0e6746f15b11c0399048de9c5c05b8 (diff)
[libata] make ali_atapi_dma static
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_ali.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c
index ce830fe3a36..511a830b625 100644
--- 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)");