diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 02:07:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 10:12:33 -0400 |
commit | e55d92b92d240189241c22bfdfc885d4225a4d61 (patch) | |
tree | f29095ec817db02a1e40349b0c6b136e0172e2b4 /arch/arm/mach-bcmring | |
parent | e772aed369779c98f44e83ccd7fb1b713953cd09 (diff) |
get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-bcmring')
-rw-r--r-- | arch/arm/mach-bcmring/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-bcmring/dma.c b/arch/arm/mach-bcmring/dma.c index d87ad30dda35..9f2a948e0e72 100644 --- a/arch/arm/mach-bcmring/dma.c +++ b/arch/arm/mach-bcmring/dma.c | |||
@@ -835,7 +835,7 @@ int dma_init(void) | |||
835 | 835 | ||
836 | /* Create /proc/dma/channels and /proc/dma/devices */ | 836 | /* Create /proc/dma/channels and /proc/dma/devices */ |
837 | 837 | ||
838 | gDmaDir = create_proc_entry("dma", S_IFDIR | S_IRUGO | S_IXUGO, NULL); | 838 | gDmaDir = proc_mkdir("dma", NULL); |
839 | 839 | ||
840 | if (gDmaDir == NULL) { | 840 | if (gDmaDir == NULL) { |
841 | printk(KERN_ERR "Unable to create /proc/dma\n"); | 841 | printk(KERN_ERR "Unable to create /proc/dma\n"); |