js01lte: fix build error p6: /drivers/motor

Change-Id: Ib58cd3c7481f969138e564fd5e6b0a59a8514188