ata: pata_parport: fix EPAT C7/C8 Kconfig

CONFIG_PARIDE_EPATC8 was renamed to CONFIG_PATA_PARPORT_EPATC8 but
epat.c was not updated to reflect that. Update it.

Reported-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Ondrej Zary <linux@zary.sk>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
This commit is contained in:
Ondrej Zary 2023-02-18 23:01:21 +01:00 committed by Damien Le Moal
parent e8d018dd02
commit d0b3f883c4
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ static struct pi_protocol epat = {
static int __init epat_init(void)
{
#ifdef CONFIG_PARIDE_EPATC8
#ifdef CONFIG_PATA_PARPORT_EPATC8
epatc8 = 1;
#endif
return paride_register(&epat);