spi.c: moved struct _spi declaration into mraa_internal_types.h
authorAlex Tereschenko <alext.mkrs@gmail.com>
Sun, 14 Jun 2015 14:34:15 +0000 (16:34 +0200)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 15 Jun 2015 08:55:54 +0000 (09:55 +0100)
commit44047e746fc76aa85e0f977ee56f4c39da4a3383
tree72c22537390d64a2b04610cec9da9ec47f327a57
parent33e4f3eeec8802e855674cea4457f8ec6fb944b4
spi.c: moved struct _spi declaration into mraa_internal_types.h

The declaration seems to be misplaced compared to all other similar structs.
It's also a prerequisite for introducing the _replace hook for spi_lsbmode(),
per issue #178.

Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
include/mraa_internal_types.h
src/spi/spi.c