]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ieee1394: silence defined but not used warning in non-modular builds
authorTony Breeds <tony@bakeyournoodle.com>
Thu, 24 Apr 2008 07:02:04 +0000 (09:02 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 25 Apr 2008 16:15:45 +0000 (18:15 +0200)
commite38649702ea64fdbbab3dd459bf8558142dd3bc4
treece344a4a2744db7c84a7dbfa10df00f09dd3affc
parentcc9429bcb6e36e9f2c51e4e47b95740e472c4c2d
ieee1394: silence defined but not used warning in non-modular builds

Currently the kernel will issue the following warning:
drivers/ieee1394/raw1394.c:2938: warning: 'raw1394_id_table' defined but not used
Add #ifdef MODULE guards around the declaration.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Ditto with dv1394_id_table and video1394_id_table.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/dv1394.c
drivers/ieee1394/raw1394.c
drivers/ieee1394/video1394.c