Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243209
b: refs/heads/master
c: 5ede9dd
h: refs/heads/master
i:
  243207: 347eed8
v: v3
  • Loading branch information
Stephen Rothwell authored and Linus Torvalds committed Mar 28, 2011
1 parent bc81404 commit 08785e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c5850150d0b9ae16840c5d9846f9d5a759996a15
refs/heads/master: 5ede9ddfba424b5dad96e7ccd55607875a64ff6c
6 changes: 3 additions & 3 deletions trunk/drivers/memstick/host/r592.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <linux/swab.h>
#include "r592.h"

static int enable_dma = 1;
static int r592_enable_dma = 1;
static int debug;

static const char *tpc_names[] = {
Expand Down Expand Up @@ -267,7 +267,7 @@ static void r592_stop_dma(struct r592_device *dev, int error)
/* Test if hardware supports DMA */
static void r592_check_dma(struct r592_device *dev)
{
dev->dma_capable = enable_dma &&
dev->dma_capable = r592_enable_dma &&
(r592_read_reg(dev, R592_FIFO_DMA_SETTINGS) &
R592_FIFO_DMA_SETTINGS_CAP);
}
Expand Down Expand Up @@ -898,7 +898,7 @@ static void __exit r592_module_exit(void)
module_init(r592_module_init);
module_exit(r592_module_exit);

module_param(enable_dma, bool, S_IRUGO);
module_param_named(enable_dma, r592_enable_dma, bool, S_IRUGO);
MODULE_PARM_DESC(enable_dma, "Enable usage of the DMA (default)");
module_param(debug, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(debug, "Debug level (0-3)");
Expand Down

0 comments on commit 08785e2

Please sign in to comment.