Re: [PATCH] mfd: Add __devexit annotation for vx855_remove

From: Harald Welte
Date: Mon Oct 25 2010 - 08:13:01 EST


Acked-by: Harald Welte <HaraldWelte@xxxxxxxxxxx>

On Mon, Oct 25, 2010 at 10:32:05AM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
> drivers/mfd/vx855.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/vx855.c b/drivers/mfd/vx855.c
> index ebb0597..348052a 100644
> --- a/drivers/mfd/vx855.c
> +++ b/drivers/mfd/vx855.c
> @@ -112,7 +112,7 @@ out:
> return ret;
> }
>
> -static void vx855_remove(struct pci_dev *pdev)
> +static void __devexit vx855_remove(struct pci_dev *pdev)
> {
> mfd_remove_devices(&pdev->dev);
> pci_disable_device(pdev);
> --
> 1.7.2

--
- Harald Welte <HaraldWelte@xxxxxxxxxxx> http://linux.via.com.tw/
--
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/