From 337f5fadc7636b270c69b3a6618f63f68ba760cf Mon Sep 17 00:00:00 2001 From: Jacob Pease Date: Tue, 1 Aug 2023 12:56:16 -0500 Subject: [PATCH] Updated driver for latest version of linux --- linux/buildroot-packages/package-source/fpga-axi-sdc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/linux/buildroot-packages/package-source/fpga-axi-sdc.c b/linux/buildroot-packages/package-source/fpga-axi-sdc.c index ebe916a4c..15bd95a90 100644 --- a/linux/buildroot-packages/package-source/fpga-axi-sdc.c +++ b/linux/buildroot-packages/package-source/fpga-axi-sdc.c @@ -379,15 +379,11 @@ static irqreturn_t sdc_isr(int irq, void * dev_id) { /*---------------------------------------------------------------------*/ -// JACOB: Had to modify this to resemble the older version of Linux -// Used to be called hw_reset in older versions. Now it's -// called .card_hw_reset to make it unambiguous what it's -// resetting. When I update Linux, this will be changed back. static const struct mmc_host_ops axi_sdc_ops = { .request = sdc_request, .set_ios = sdc_set_ios, .get_cd = sdc_get_cd, - .hw_reset = sdc_card_reset, + .card_hw_reset = sdc_card_reset, }; static int axi_sdc_probe(struct platform_device * pdev) {