]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ixp2000: fix gcc4 breakage
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 29 Mar 2006 13:12:44 +0000 (15:12 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 29 Mar 2006 22:34:02 +0000 (17:34 -0500)
commit5d4fe2c1ce83c3e967ccc1ba3d580c1a5603a866
treedbadab717d643708ed140eb72fa3b132eefa56ba
parent391fc09a143aac08d1a3dc37b60238612b504ad3
[PATCH] ixp2000: fix gcc4 breakage

gcc4 doesn't like us declaring a static function inside another
function.  We can do away with this construct altogether and use
BUILD_BUG_ON() instead (idea from Andi Kleen.)

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ixp2000/ixpdev.c