projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[AGPGART] allow drm populated agp memory types cleanups
[linux-drm-fsl-dcu.git]
/
arch
/
arm
/
kernel
/
apm.c
diff --git
a/arch/arm/kernel/apm.c
b/arch/arm/kernel/apm.c
index a11fb9a40c04f0c16e9d46e1e2d17cfbe934b91c..2c37b70b17ab45087ff7c43d30aea6006d3f4e81 100644
(file)
--- a/
arch/arm/kernel/apm.c
+++ b/
arch/arm/kernel/apm.c
@@
-423,7
+423,7
@@
static int apm_open(struct inode * inode, struct file * filp)
{
struct apm_user *as;
- as =
(struct apm_user *)
kzalloc(sizeof(*as), GFP_KERNEL);
+ as = kzalloc(sizeof(*as), GFP_KERNEL);
if (as) {
/*
* XXX - this is a tiny bit broken, when we consider BSD