#include <malloc.h>
#include <spi.h>
int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen)
{
if (wordlen == 0 || wordlen > 32) {
#include <malloc.h>
#include <spi.h>
int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen)
{
if (wordlen == 0 || wordlen > 32) {
void *spi_do_alloc_slave(int offset, int size, unsigned int bus,
unsigned int cs)
{
void *spi_do_alloc_slave(int offset, int size, unsigned int bus,
unsigned int cs)
{