The code uses 64-bit divisions, which should be avoided, and also prevents the module from loading on 32-bit systems: gb_loopback: Unknown symbol __aeabi_uldivmod (err 0) Fix by using the kernel's 64-bit by 32-bit division implementation do_div. Compile tested only. I did not look very closely at the code itself. Perhaps this could be worked around in some other way, but this silences the linker warning and allows the module to be loaded. Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> |
||
---|---|---|
.. | ||
Documentation | ||
.gitignore | ||
Android.mk | ||
LICENSE | ||
Makefile | ||
README | ||
ap.c | ||
battery.c | ||
bundle.c | ||
bundle.h | ||
connection.c | ||
connection.h | ||
core.c | ||
debugfs.c | ||
devices | ||
endo.c | ||
endo.h | ||
es1.c | ||
es2.c | ||
gpb.c | ||
gpbridge.h | ||
gpio.c | ||
greybus.h | ||
greybus_id.h | ||
greybus_manifest.h | ||
hid.c | ||
i2c.c | ||
interface.c | ||
interface.h | ||
kernel_ver.h | ||
loopback.c | ||
manifest.c | ||
manifest.h | ||
module.c | ||
module.h | ||
operation.c | ||
operation.h | ||
protocol.c | ||
protocol.h | ||
pwm.c | ||
sdio.c | ||
spi.c | ||
svc_msg.h | ||
uart.c | ||
usb.c | ||
vibrator.c |
README
Greybus kernel code To build against the running kernel (odds are you don't want this): make To build against a specific kernel source tree (odds are you want this): KERNELDIR=/home/some/random/place make Any questions / concerns about this code base, please email: Greg Kroah-Hartman <greg@kroah.com>