Fix typedef usage as per linux kernel coding style.