Skip to content

Commit 664a41b

Browse files
committed
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (430 commits) [media] ir-mce_kbd-decoder: include module.h for its facilities [media] ov5642: include module.h for its facilities [media] em28xx: Fix DVB-C maxsize for em2884 [media] tda18271c2dd: Fix saw filter configuration for DVB-C @6MHz [media] v4l: mt9v032: Fix Bayer pattern [media] V4L: mt9m111: rewrite set_pixfmt [media] V4L: mt9m111: fix missing return value check mt9m111_reg_clear [media] V4L: initial driver for ov5642 CMOS sensor [media] V4L: sh_mobile_ceu_camera: fix Oops when USERPTR mapping fails [media] V4L: soc-camera: remove soc-camera bus and devices on it [media] V4L: soc-camera: un-export the soc-camera bus [media] V4L: sh_mobile_csi2: switch away from using the soc-camera bus notifier [media] V4L: add media bus configuration subdev operations [media] V4L: soc-camera: group struct field initialisations together [media] V4L: soc-camera: remove now unused soc-camera specific PM hooks [media] V4L: pxa-camera: switch to using standard PM hooks [media] NetUP Dual DVB-T/C CI RF: force card hardware revision by module param [media] Don't OOPS if videobuf_dvb_get_frontend return NULL [media] NetUP Dual DVB-T/C CI RF: load firmware according card revision [media] omap3isp: Support configurable HS/VS polarities ... Fix up conflicts: - arch/arm/mach-omap2/board-rx51-peripherals.c: cleanup regulator supply definitions in mach-omap2 vs OMAP3: RX-51: define vdds_csib regulator supply - drivers/staging/tm6000/tm6000-alsa.c (trivial)
2 parents 983236b + ee2ce3a commit 664a41b

565 files changed

Lines changed: 53058 additions & 15028 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/DocBook/.gitignore‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@
88
*.dvi
99
*.log
1010
*.out
11-
media/
11+
*.png
12+
*.gif
13+
media-indices.tmpl
14+
media-entities.tmpl

‎Documentation/DocBook/Makefile‎

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ DOCBOOKS := z8530book.xml mcabook.xml device-drivers.xml \
1414
genericirq.xml s390-drivers.xml uio-howto.xml scsi.xml \
1515
80211.xml debugobjects.xml sh.xml regulator.xml \
1616
alsa-driver-api.xml writing-an-alsa-driver.xml \
17-
tracepoint.xml media.xml drm.xml
17+
tracepoint.xml drm.xml media_api.xml
18+
19+
include $(srctree)/Documentation/DocBook/media/Makefile
1820

1921
###
2022
# The build process is as follows (targets):
@@ -32,7 +34,7 @@ PS_METHOD = $(prefer-db2x)
3234

3335
###
3436
# The targets that may be used.
35-
PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs xmldoclinks
37+
PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs
3638

3739
BOOKS := $(addprefix $(obj)/,$(DOCBOOKS))
3840
xmldocs: $(BOOKS)
@@ -45,27 +47,14 @@ PDF := $(patsubst %.xml, %.pdf, $(BOOKS))
4547
pdfdocs: $(PDF)
4648

4749
HTML := $(sort $(patsubst %.xml, %.html, $(BOOKS)))
48-
htmldocs: $(HTML) xmldoclinks
50+
htmldocs: $(HTML)
4951
$(call build_main_index)
5052
$(call build_images)
53+
$(call install_media_images)
5154

5255
MAN := $(patsubst %.xml, %.9, $(BOOKS))
5356
mandocs: $(MAN)
5457

55-
build_images = mkdir -p $(objtree)/Documentation/DocBook/media/ && \
56-
cp $(srctree)/Documentation/DocBook/dvb/*.png \
57-
$(srctree)/Documentation/DocBook/v4l/*.gif \
58-
$(objtree)/Documentation/DocBook/media/
59-
60-
xmldoclinks:
61-
ifneq ($(objtree),$(srctree))
62-
for dep in dvb media-entities.tmpl media-indices.tmpl v4l; do \
63-
rm -f $(objtree)/Documentation/DocBook/$$dep \
64-
&& ln -s $(srctree)/Documentation/DocBook/$$dep $(objtree)/Documentation/DocBook/ \
65-
|| exit; \
66-
done
67-
endif
68-
6958
installmandocs: mandocs
7059
mkdir -p /usr/local/man/man9/
7160
install Documentation/DocBook/man/*.9.gz /usr/local/man/man9/
@@ -97,11 +86,11 @@ define rule_docproc
9786
) > $(dir $@).$(notdir $@).cmd
9887
endef
9988

100-
%.xml: %.tmpl xmldoclinks FORCE
89+
%.xml: %.tmpl FORCE
10190
$(call if_changed_rule,docproc)
10291

10392
###
104-
#Read in all saved dependency files
93+
#Read in all saved dependency files
10594
cmd_files := $(wildcard $(foreach f,$(BOOKS),$(dir $(f)).$(notdir $(f)).cmd))
10695

10796
ifneq ($(cmd_files),)
@@ -150,7 +139,7 @@ quiet_cmd_db2pdf = PDF $@
150139

151140
index = index.html
152141
main_idx = Documentation/DocBook/$(index)
153-
build_main_index = rm -rf $(main_idx) && \
142+
build_main_index = rm -rf $(main_idx); \
154143
echo '<h1>Linux Kernel HTML Documentation</h1>' >> $(main_idx) && \
155144
echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \
156145
cat $(HTML) >> $(main_idx)
@@ -242,7 +231,7 @@ clean-files := $(DOCBOOKS) \
242231

243232
clean-dirs := $(patsubst %.xml,%,$(DOCBOOKS)) man
244233

245-
cleandocs:
234+
cleandocs: cleanmediadocs
246235
$(Q)rm -f $(call objectify, $(clean-files))
247236
$(Q)rm -rf $(call objectify, $(clean-dirs))
248237

0 commit comments

Comments
 (0)