Re: [PATCH 3/3] misc: ep93xx_pwm.c: fix section mismatch and usemodule_platform_driver

From: Greg KH
Date: Mon Mar 25 2013 - 16:18:08 EST


On Fri, Mar 15, 2013 at 06:07:13PM -0700, H Hartley Sweeten wrote:
> Remove the __init tags from the ep93xx_pwm_probe() and
> ep93xx_pwm_remove() functions to fix the section mismatch
> warnings.
>
> Use module_platform_driver() to remove the init/exit boilerplate.
>
> Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
> Cc: Ryan Mallon <rmallon@xxxxxxxxx>

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/