support for platform_device