View | Details | Raw Unified
Collapse All | Expand All

(-) alsa-driver-1.0.10/include/platform_device_compat.h.alt-platform_device_compat (-2 / +4 lines)
 Lines 61-68    Link Here 
static inline int platform_driver_register(struct platform_driver *drv)
static inline int platform_driver_register(struct platform_driver *drv)
{
{
	drv->driver.bus = &platform_bus_type;
	drv->driver.bus = &platform_bus_type;
	drv->driver.probe = snd_platform_driver_probe;
	if (drv->probe)
	drv->driver.remove = snd_platform_driver_remove;
		drv->driver.probe = snd_platform_driver_probe;
	if (drv->remove)
		drv->driver.remove = snd_platform_driver_remove;
	if (drv->suspend)
	if (drv->suspend)
		drv->driver.suspend = snd_platform_driver_suspend;
		drv->driver.suspend = snd_platform_driver_suspend;
	if (drv->resume)
	if (drv->resume)