Move SPI struct from source file to header file

Strange thing! SPI was not working when spi_ioc_transfer was declared in source file.