Created
January 17, 2020 17:54
-
-
Save greyltc/3571d194a506c040e3a05de6867eb814 to your computer and use it in GitHub Desktop.
a patch to get the linux gpib kernel driver working (thank you robots)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: linux-gpib-kernel/drivers/gpib/fmh_gpib/fmh_gpib.c | |
=================================================================== | |
--- linux-gpib-kernel/drivers/gpib/fmh_gpib/fmh_gpib.c (revision 1862) | |
+++ linux-gpib-kernel/drivers/gpib/fmh_gpib/fmh_gpib.c (working copy) | |
@@ -982,7 +982,7 @@ | |
} | |
/* Match callback for driver_find_device */ | |
-static int fmh_gpib_device_match(struct device *dev, void *data) | |
+static int fmh_gpib_device_match(struct device *dev, const void *data) | |
{ | |
const gpib_board_config_t *config = data; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment