Skip to content

Commit

Permalink
staging: dt3155v4l: remove use of __devinit
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent ffba1bc commit 2a91a6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/media/dt3155v4l/dt3155v4l.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2a91a6d

Please sign in to comment.