From: John Stultz Date: Mon, 23 May 2011 20:32:11 +0000 (-0700) Subject: ptp: Fix dp83640 build warning when building statically X-Git-Tag: v3.0-rc1~164^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86ff9baadf16c8a1b452d72f5585be63457d9b15;p=pandora-kernel.git ptp: Fix dp83640 build warning when building statically If the dp83640 driver is not built as a module, the MODULE_DEVICE_TABLE reference to dp83640_tbl nops out. Since the table isn't referenced elsewhere, it it causes the following warning: drivers/net/phy/dp83640.c:1095: warning: ‘dp83640_tbl’ defined but not used This apparently is common with mdio_device_id table structures, and is avoided by using __maybe_unused annotation. Signed-off-by: John Stultz --- Reading git-diff-tree failed