The basic issue here is that some reorganization of the OMAP1 code broke the build; this has been fixed in the linux-omap tree for some time, so this also syncs up with the latest changes there.