Searched refs:sch56xx_pdev (Results 1 – 1 of 1) sorted by relevance
78 static struct platform_device *sch56xx_pdev; variable566 sch56xx_pdev = platform_device_alloc(name, address); in sch56xx_device_add()567 if (!sch56xx_pdev) in sch56xx_device_add()570 res.name = sch56xx_pdev->name; in sch56xx_device_add()575 err = platform_device_add_resources(sch56xx_pdev, &res, 1); in sch56xx_device_add()581 err = platform_device_add(sch56xx_pdev); in sch56xx_device_add()590 platform_device_put(sch56xx_pdev); in sch56xx_device_add()611 platform_device_unregister(sch56xx_pdev); in sch56xx_exit()