summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-11 19:28:27 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-04-12 06:16:49 +0200
commit1892225f788a73beae2ec26f6f2fa4cd2e5868d0 (patch)
treeb177522cdb32df406a8f0ee084e1170383f6daaf /drivers
parent[libata] sata_svw: fix reversed port count (diff)
downloadlinux-1892225f788a73beae2ec26f6f2fa4cd2e5868d0.tar.xz
linux-1892225f788a73beae2ec26f6f2fa4cd2e5868d0.zip
[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')
-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 ce830fe3a362..511a830b6256 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)");