From: Bill Pemberton Date: Mon, 19 Nov 2012 18:22:17 +0000 (-0500) Subject: staging: dt3155v4l: remove use of __devinit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a91a6d1422f6dc3cb27689e18e16b8c98ec1c73;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: dt3155v4l: remove use of __devinit CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton Cc: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging/media/dt3155v4l/dt3155v4l.c index 15f7468a2475..c8af551626fb 100644 --- a/drivers/staging/media/dt3155v4l/dt3155v4l.c +++ b/drivers/staging/media/dt3155v4l/dt3155v4l.c @@ -718,7 +718,7 @@ static const struct v4l2_ioctl_ops dt3155_ioctl_ops = { */ }; -static int __devinit +static int dt3155_init_board(struct pci_dev *pdev) { struct dt3155_priv *pd = pci_get_drvdata(pdev); @@ -836,7 +836,7 @@ struct dma_coherent_mem { unsigned long *bitmap; }; -static int __devinit +static int dt3155_alloc_coherent(struct device *dev, size_t size, int flags) { struct dma_coherent_mem *mem; @@ -891,7 +891,7 @@ dt3155_free_coherent(struct device *dev) kfree(mem); } -static int __devinit +static int dt3155_probe(struct pci_dev *pdev, const struct pci_device_id *id) { int err;