]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L: omap camera builds again
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 11 Dec 2006 22:20:05 +0000 (14:20 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Dec 2006 22:20:05 +0000 (14:20 -0800)
commitd2b9a8a9162d3dd1986a7fddae5de0d5e569d937
tree94f1cba43296cad4c6a4688c9c9d6fa185246bab
parent0b6b5f2911d1114003988899eaef0edbfcefc1c0
V4L: omap camera builds again

Fix some bitrot, including basic build/load functionality:

  - ov9640 code had syntax errors (!) and referenced missing fields
  - camera core included all kinds of crap, but not the v4l2 stuff
  - both omap16xx and 17xx used the wrong base clock
  - 16xx oopsed because its base clock did not exist
  - misuse of machine_is_omap_h3() in place of cpu_is_omap1710()
  - several exported symbols were goofed up
  - used bad call to reserve mem region
  - didn't destroy platform device correctly
  - ov9640 needed MODULE_LICENSE("GPL")

It's probably best to think of this as just making the camera code
build again, load/unload as modules, stop oopsing on 16xx, and be
a smidgeon cleaner ... since my (early/prototype) Mistral board won't
actually get to UBoot when a camera is connected.  :(

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/media/video/omap/camera_core.c
drivers/media/video/omap/camera_core.h
drivers/media/video/omap/camera_hw_if.h
drivers/media/video/omap/omap16xxcam.c
drivers/media/video/omap/sensor_if.h
drivers/media/video/omap/sensor_ov9640.c