Searched refs:pdev_bd (Results 1 – 2 of 2) sorted by relevance
44 struct platform_device *pdev_bd; in bridge_platform_create() local87 pdev_bd = platform_device_alloc("xtalk-bridge", PLATFORM_DEVID_AUTO); in bridge_platform_create()88 if (!pdev_bd) { in bridge_platform_create()110 if (platform_device_add_data(pdev_bd, bd, sizeof(*bd))) { in bridge_platform_create()114 if (platform_device_add(pdev_bd)) { in bridge_platform_create()124 platform_device_put(pdev_bd); in bridge_platform_create()
31 struct platform_device *pdev_bd; in bridge_platform_create() local77 pdev_bd = platform_device_alloc("xtalk-bridge", PLATFORM_DEVID_AUTO); in bridge_platform_create()78 if (!pdev_bd) { in bridge_platform_create()101 if (platform_device_add_data(pdev_bd, bd, sizeof(*bd))) { in bridge_platform_create()105 if (platform_device_add(pdev_bd)) { in bridge_platform_create()115 platform_device_put(pdev_bd); in bridge_platform_create()