ead: fix compile errors with recent kernels