From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932516AbWAKDSJ (ORCPT ); Tue, 10 Jan 2006 22:18:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932569AbWAKDSJ (ORCPT ); Tue, 10 Jan 2006 22:18:09 -0500 Received: from gate.crashing.org ([63.228.1.57]:23751 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S932516AbWAKDSI (ORCPT ); Tue, 10 Jan 2006 22:18:08 -0500 Subject: [PATCH] Fix wireless build From: Benjamin Herrenschmidt To: Jeff Garzik Cc: Andrew Morton , Linux Kernel list Content-Type: text/plain Date: Wed, 11 Jan 2006 14:17:32 +1100 Message-Id: <1136949452.5333.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Current wireless core doesn't link here with a link error on compare_ether_addr. The function exists, but is defined inline and the wireless code forgets to #include the file containing the definition. Signed-off-by: Benjamin Herrenschmidt Index: linux-work/net/core/wireless.c =================================================================== --- linux-work.orig/net/core/wireless.c 2006-01-11 12:56:30.000000000 +1100 +++ linux-work/net/core/wireless.c 2006-01-11 14:14:27.000000000 +1100 @@ -78,7 +78,7 @@ #include #include /* for __init */ #include /* ARPHRD_ETHER */ - +#include #include /* Pretty obvious */ #include /* New driver API */