Skip to content

Commit

Permalink
uio: 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: "Hans J. Koch" <hjk@hansjkoch.de>
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 5a59509 commit b17b75b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/uio/uio_aec.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static void print_board_data(struct pci_dev *pdev, struct uio_info *i)
ioread8(i->priv + 0x07));
}

static int __devinit probe(struct pci_dev *pdev, const struct pci_device_id *id)
static int probe(struct pci_dev *pdev, const struct pci_device_id *id)
{
struct uio_info *info;
int ret;
Expand Down
2 changes: 1 addition & 1 deletion drivers/uio/uio_cif.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static irqreturn_t hilscher_handler(int irq, struct uio_info *dev_info)
return IRQ_HANDLED;
}

static int __devinit hilscher_pci_probe(struct pci_dev *dev,
static int hilscher_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{
struct uio_info *info;
Expand Down
2 changes: 1 addition & 1 deletion drivers/uio/uio_netx.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static irqreturn_t netx_handler(int irq, struct uio_info *dev_info)
return IRQ_HANDLED;
}

static int __devinit netx_pci_probe(struct pci_dev *dev,
static int netx_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{
struct uio_info *info;
Expand Down
2 changes: 1 addition & 1 deletion drivers/uio/uio_pci_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static irqreturn_t irqhandler(int irq, struct uio_info *info)
return IRQ_HANDLED;
}

static int __devinit probe(struct pci_dev *pdev,
static int probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{
struct uio_pci_generic_dev *gdev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/uio/uio_pruss.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static void pruss_cleanup(struct platform_device *dev,
kfree(gdev);
}

static int __devinit pruss_probe(struct platform_device *dev)
static int pruss_probe(struct platform_device *dev)
{
struct uio_info *p;
struct uio_pruss_dev *gdev;
Expand Down
2 changes: 1 addition & 1 deletion drivers/uio/uio_sercos3.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static int sercos3_setup_iomem(struct pci_dev *dev, struct uio_info *info,
return 0;
}

static int __devinit sercos3_pci_probe(struct pci_dev *dev,
static int sercos3_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{
struct uio_info *info;
Expand Down

0 comments on commit b17b75b

Please sign in to comment.