diff options
| author | Joe Perches <joe@perches.com> | 2010-10-31 18:33:55 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-09 17:05:24 -0500 |
| commit | 31a9f47aa081292d1c750002724aa23b3bd44bb8 (patch) | |
| tree | cb7da9c8659cb13c3b3eaa8cabbe132ae0a768b9 | |
| parent | 43f88d530ec656d9b556fb0d127b30757b1c3d35 (diff) | |
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>
| -rw-r--r-- | drivers/staging/udlfb/udlfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/udlfb/udlfb.c b/drivers/staging/udlfb/udlfb.c index 5969e848d297..fed25105970a 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) | |||
| 887 | 887 | ||
| 888 | struct fb_deferred_io *fbdefio; | 888 | struct fb_deferred_io *fbdefio; |
| 889 | 889 | ||
| 890 | fbdefio = kmalloc(GFP_KERNEL, sizeof(struct fb_deferred_io)); | 890 | fbdefio = kmalloc(sizeof(struct fb_deferred_io), GFP_KERNEL); |
| 891 | 891 | ||
| 892 | if (fbdefio) { | 892 | if (fbdefio) { |
| 893 | fbdefio->delay = DL_DEFIO_WRITE_DELAY; | 893 | fbdefio->delay = DL_DEFIO_WRITE_DELAY; |
