BBBAndroid + MMA8451 accelerometer

Hi guys
i’m a newbie in embedded system but i would like to make my BeagleBone Black work with MMA8451 sensor.

Which are the steps to make BBBAndroid work with the sensor?

I recompiled the kernel after i added the sensor driver taken from

now i’m stuck. i really don’t know how to proceed? how can i make the HAL to detect the device?

Thank you