13.11.2012 Views

Creating-Custom-Drivers-for-APQ8060-Dragonboard-BSQUARE

Creating-Custom-Drivers-for-APQ8060-Dragonboard-BSQUARE

Creating-Custom-Drivers-for-APQ8060-Dragonboard-BSQUARE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Adding the new driver to the build<br />

• Added the following to /drivers/input/misc/Kconfig<br />

config KIONIX_KXSD9<br />

tristate "KXSD9 acceleration sensor support“<br />

depends on I2C=y<br />

help<br />

If you say yes here you get support <strong>for</strong> Kionix's<br />

acceleration sensor KXSD9<br />

• Added the following to /drivers/input/misc/Kconfig<br />

obj-$(CONFIG_KIONIX_KXSD9) += kxsd9.o<br />

• Added the following to our config file at<br />

/arch/arm/configs/msm8660_defconfig<br />

CONFIG_KIONIX_KXSD9=y

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!