Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195908
b: refs/heads/master
c: ada4965
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and David Woodhouse committed Mar 9, 2010
1 parent f461287 commit 2124ae2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: b2aaf7a2b476820cf5fd7738e8641ed88046acf5
refs/heads/master: ada496578850cb063ccf64d43a293cfcc9d32bf8
9 changes: 5 additions & 4 deletions trunk/drivers/mtd/nand/r852.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@
#include <linux/workqueue.h>
#include <linux/interrupt.h>
#include <linux/pci_ids.h>
#include <linux/delay.h>
#include <asm/byteorder.h>
#include <linux/sched.h>
#include "sm_common.h"
#include "r852.h"


static int enable_dma = 1;
module_param(enable_dma, bool, S_IRUGO);
MODULE_PARM_DESC(enable_dma, "Enable usage of the DMA (default)");
static int r852_enable_dma = 1;
module_param(r852_enable_dma, bool, S_IRUGO);
MODULE_PARM_DESC(r852_enable_dma, "Enable usage of the DMA (default)");

static int debug;
module_param(debug, int, S_IRUGO | S_IWUSR);
Expand Down Expand Up @@ -75,7 +76,7 @@ static void r852_dma_test(struct r852_device *dev)
if (!dev->dma_usable)
message("Non dma capable device detected, dma disabled");

if (!enable_dma) {
if (!r852_enable_dma) {
message("disabling dma on user request");
dev->dma_usable = 0;
}
Expand Down

0 comments on commit 2124ae2

Please sign in to comment.