Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35768
ap->ioaddr.data_addr = info->iobase + RB153_CF_REG_DATA;
}
ap->ioaddr.data_addr = info->iobase + RB153_CF_REG_DATA;
}
-static __devinit int rb153_pata_driver_probe(struct platform_device *pdev)
+static int rb153_pata_driver_probe(struct platform_device *pdev)
{
unsigned int irq;
int gpio;
{
unsigned int irq;
int gpio;
-static __devexit int rb153_pata_driver_remove(struct platform_device *pdev)
+static int rb153_pata_driver_remove(struct platform_device *pdev)
{
struct ata_host *ah = platform_get_drvdata(pdev);
struct rb153_cf_info *info = ah->private_data;
{
struct ata_host *ah = platform_get_drvdata(pdev);
struct rb153_cf_info *info = ah->private_data;
static struct platform_driver rb153_pata_platform_driver = {
.probe = rb153_pata_driver_probe,
static struct platform_driver rb153_pata_platform_driver = {
.probe = rb153_pata_driver_probe,
- .remove = __devexit_p(rb153_pata_driver_remove),
+ .remove = rb153_pata_driver_remove,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
adm5120_switch_rx_ring_free();
}
adm5120_switch_rx_ring_free();
}
-static int __devinit adm5120_switch_probe(struct platform_device *pdev)
+static int adm5120_switch_probe(struct platform_device *pdev)
-static int __devinit admhc_adm5120_start(struct usb_hcd *hcd)
+static int admhc_adm5120_start(struct usb_hcd *hcd)
{
struct admhcd *ahcd = hcd_to_admhcd(hcd);
int ret;
{
struct admhcd *ahcd = hcd_to_admhcd(hcd);
int ret;