Commit e039ed85 authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Tero Kristo
Browse files

HACK: misc: dma-buf-phys: Allow this driver to be built as a module



Both module_platform_driver and postcore_initcall macros define
module_init so when built as a module we get a redefinition error.
Only define one init call and register the device from there.

Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
parent 5be9bb0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment