diff options
| -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; |
