Made spi driver functions virtual