During building a driver, I had to fix 2 compile errors:
asus-pce-n53-linux/os/linux/../../common/rtmp_mcu.c:558:72: error: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type [-Werror=incompatible-pointer-types]
pci_read_config_word(((POS_COOKIE)pAd->OS_Cookie)->pci_dev, offset, &Configuration);
asus-pce-n53-linux/os/linux/../../common/rtmp_mcu.c:578:72: error: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type [-Werror=incompatible-pointer-types]
pci_read_config_word(((POS_COOKIE)pAd->OS_Cookie)->pci_dev, offset, &Configuration);
I have
Ubuntu 16.04 LTS
andAsus PCE-N53
card.During building a driver, I had to fix 2 compile errors:
I had changed this
to this
in 2 places of a file
rtmp_mcu.c