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:
Andrew F. Davis <afd@ti.com>
Loading
Please sign in to comment