diff options
author | 2012-07-22 19:32:00 +0100 | |
---|---|---|
committer | 2012-07-22 19:32:00 +0100 | |
commit | 3384fb98845dc014770caa224d61a2effd258ca5 (patch) | |
tree | 8189134a4938632e2d06e93af04c9fc1f3c2d4c9 /lib | |
parent | Merge branches 'regulator-core', 'regulator-dt' and 'regulator-dummy' into regulator-next (diff) | |
parent | regulator: add new lp8788 regulator driver (diff) | |
download | linux-dev-3384fb98845dc014770caa224d61a2effd258ca5.tar.xz linux-dev-3384fb98845dc014770caa224d61a2effd258ca5.zip |
Merge branch 'regulator-drivers' into regulator-next
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dma-debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 518aea714d21..66ce41489133 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c @@ -78,7 +78,7 @@ static LIST_HEAD(free_entries); static DEFINE_SPINLOCK(free_entries_lock); /* Global disable flag - will be set in case of an error */ -static bool global_disable __read_mostly; +static u32 global_disable __read_mostly; /* Global error count */ static u32 error_count; @@ -657,7 +657,7 @@ static int dma_debug_fs_init(void) global_disable_dent = debugfs_create_bool("disabled", 0444, dma_debug_dent, - (u32 *)&global_disable); + &global_disable); if (!global_disable_dent) goto out_err; |