Odroid ed 3.0.y

Attached 3 patches which just fix compilation issues. (Bad merge I think)