Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752984Ab2E2IdM (ORCPT ); Tue, 29 May 2012 04:33:12 -0400 Received: from na3sys009aog102.obsmtp.com ([74.125.149.69]:40447 "EHLO na3sys009aog102.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752337Ab2E2IdK (ORCPT ); Tue, 29 May 2012 04:33:10 -0400 Message-ID: <1338280385.15008.74.camel@cumari.coelho.fi> Subject: Re: [PATCH v2] wlcore: fix undefined symbols when CONFIG_PM is not defined From: Luciano Coelho To: eyal@wizery.com, "John W. Linville" Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, Geert Uytterhoeven Date: Tue, 29 May 2012 11:33:05 +0300 In-Reply-To: <1338280122-28648-1-git-send-email-eyal@wizery.com> References: <1338280122-28648-1-git-send-email-eyal@wizery.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2-1+b1 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1115 Lines: 32 On Tue, 2012-05-29 at 01:28 -0700, Eyal Shapira wrote: > commit c21eebb50379a96e1335e933583dcd5b455c6b64 > "wl12xx: add RX filters ACX commands" breaks the build > when CONFIG_PM isn't defined: > > ERROR: "wl1271_rx_filter_get_fields_size" > [drivers/net/wireless/ti/wlcore/wlcore.ko] undefined! > ERROR: "wl1271_rx_filter_flatten_fields" > [drivers/net/wireless/ti/wlcore/wlcore.ko] undefined! > > code in drivers/net/wireless/ti/wlcore/acx.c is using these > functions unconditionally while they are #ifdefed CONFIG_PM. > Fix it by ifdefing all relevant RX filters code with CONFIG_PM. > > Reported-by: Geert Uytterhoeven > Signed-off-by: Eyal Shapira > --- > v2: reference the correct commit in linux-next (Thanks Stephen!) Thanks for the correction. For v2: Acked-by: Luciano Coelho -- Cheers, Luca. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/