summaryrefslogtreecommitdiff
path: root/drivers/staging/udlfb
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-31 22:33:55 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-09 22:05:24 (GMT)
commit31a9f47aa081292d1c750002724aa23b3bd44bb8 (patch)
treecb7da9c8659cb13c3b3eaa8cabbe132ae0a768b9 /drivers/staging/udlfb
parent43f88d530ec656d9b556fb0d127b30757b1c3d35 (diff)
downloadlinux-fsl-qoriq-31a9f47aa081292d1c750002724aa23b3bd44bb8.tar.xz
Staging: udlfb.c: Fix k.alloc switched arguments
Signed-off-by: Joe Perches <joe@perches.com> Cc: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/udlfb')
-rw-r--r--drivers/staging/udlfb/udlfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/udlfb/udlfb.c b/drivers/staging/udlfb/udlfb.c
index 5969e84..fed2510 100644
--- a/drivers/staging/udlfb/udlfb.c
+++ b/drivers/staging/udlfb/udlfb.c
@@ -887,7 +887,7 @@ static int dlfb_ops_open(struct fb_info *info, int user)
struct fb_deferred_io *fbdefio;
- fbdefio = kmalloc(GFP_KERNEL, sizeof(struct fb_deferred_io));
+ fbdefio = kmalloc(sizeof(struct fb_deferred_io), GFP_KERNEL);
if (fbdefio) {
fbdefio->delay = DL_DEFIO_WRITE_DELAY;