uio: remove use of __devinit
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>
This commit is contained in:
parent
5a59509b47
commit
b17b75bb52
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue