]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-mfc: Fix kernel warning on memory init
authorArun Kumar K <arun.kk@samsung.com>
Fri, 18 Jan 2013 18:42:34 +0000 (15:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 19:32:52 +0000 (17:32 -0200)
commit0c515c1aa97dc87433fd3701d63a3d73bf38ad0d
tree3e70dad972ae097059af269eba7b17671c5679ef
parentc15694f1865e4f531e13fd5b1c6518c4628f9590
[media] s5p-mfc: Fix kernel warning on memory init

Cleaned up the memory devices allocation code and added
missing device_initialize() call to remove the kernel warning
during memory allocations.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c