Re: [PATCH v6] ata/pata_buddha: Probe via modalias instead of initcall

2019-08-23 Thread Max Staudt
On 08/23/2019 12:42 PM, Bartlomiej Zolnierkiewicz wrote: >> +static struct zorro_driver pata_buddha_driver = { >> +.name = "pata_buddha", >> +.id_table = pata_buddha_zorro_tbl, >> +.probe = pata_buddha_probe, >> +.remove = pata_buddha_remove, >> +

Re: [PATCH v6] ata/pata_buddha: Probe via modalias instead of initcall

2019-08-23 Thread Bartlomiej Zolnierkiewicz
Hi, On 8/20/19 6:57 PM, Max Staudt wrote: > Up until now, the pata_buddha driver would only check for cards on > initcall time. Now, the kernel will call its probe function as soon > as a compatible card is detected. > > v6: Only do the drvdata workaround for X-Surf (remove breaks otherwise) >

[PATCH v6] ata/pata_buddha: Probe via modalias instead of initcall

2019-08-20 Thread Max Staudt
Up until now, the pata_buddha driver would only check for cards on initcall time. Now, the kernel will call its probe function as soon as a compatible card is detected. v6: Only do the drvdata workaround for X-Surf (remove breaks otherwise) Style v5: Remove module_exit(): There's no good way