beaglebone.c Beaglebone should now work with newer kernels
beaglebone.c Beaglebone should now work with newer kernels

Made the pin declarations a little nicer to look at. Found a bug with
the I2C. The higher layers were passing the bus ID itself, not the index
of the device in the i2c_bus array.

Signed-off-by: Nick Crast <8bd0ff9c4b5f26c290a213b8a82168b2dfb77c91@gmail.com>
Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

alext-mkrs/mraa,stefan-andritoiu/mraa-gpio-chardev,arfoll/mraa,stefan-andritoiu/mraa-gpio-chardev,g-vidal/mraa,sergev/mraa,yongli3/mraa,ncrastanaren/mraa,alext-mkrs/mraa,Jon-ICS/mraa,alext-mkrs/mraa,ncrastanaren/mraa,yongli3/mraa,g-vidal/mraa,sergev/mraa,stefan-andritoiu/mraa-gpio-chardev,ncrastanaren/mraa,KurtE/mraa,malikabhi05/mraa,malikabhi05/mraa,Propanu/mraa,arfoll/mraa,arfoll/mraa,Propanu/mraa,KurtE/mraa,stefan-andritoiu/mraa-gpio-chardev,malikabhi05/mraa,Propanu/mraa,ncrastanaren/mraa,yongli3/mraa,intel-iot-devkit/mraa,arfoll/mraa,KurtE/mraa,sergev/mraa,jontrulson/mraa,intel-iot-devkit/mraa,Propanu/mraa,sergev/mraa,intel-iot-devkit/mraa,yongli3/mraa,sergev/mraa,g-vidal/mraa,malikabhi05/mraa,Propanu/mraa,g-vidal/mraa,alext-mkrs/mraa,yongli3/mraa,KurtE/mraa,stefan-andritoiu/mraa,Jon-ICS/mraa,intel-iot-devkit/mraa,alext-mkrs/mraa,malikabhi05/mraa,arfoll/mraa,jontrulson/mraa,jontrulson/mraa,ncrastanaren/mraa,jontrulson/mraa,KurtE/mraa,stefan-andritoiu/mraa,stefan-andritoiu/mraa-gpio-chardev,g-vidal/mraa,jontrulson/mraa,intel-iot-devkit/mraa,Jon-ICS/mraa,stefan-andritoiu/mraa,stefan-andritoiu/mraa,stefan-andritoiu/mraa