device driver: Fix compile warnings

This commit is contained in:
Lorenz Meier
2014-07-16 08:47:31 +02:00
parent b08e3d21cd
commit 8107205b9e
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -129,10 +129,15 @@ private:
uint32_t _frequency;
struct spi_dev_s *_dev;
/* this class does not allow copying */
SPI(const SPI&);
SPI operator=(const SPI&);
protected:
int _bus;
int _transfer(uint8_t *send, uint8_t *recv, unsigned len);
};
} // namespace device