[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150126.172630.1182911088830479483.davem@davemloft.net>
Date: Mon, 26 Jan 2015 17:26:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: michal.simek@...inx.com
Cc: linux-kernel@...r.kernel.org, monstr@...str.eu,
nicolas.ferre@...el.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: macb: Remove CONFIG_PM ifdef because of
compilation warning
From: Michal Simek <michal.simek@...inx.com>
Date: Fri, 23 Jan 2015 09:36:03 +0100
> Fix compilation warning:
> drivers/net/ethernet/cadence/macb.c:2415:12: warning: 'macb_suspend'
> defined but not used [-Wunused-function]
> static int macb_suspend(struct device *dev)
> drivers/net/ethernet/cadence/macb.c:2432:12: warning: 'macb_resume'
> defined but not used [-Wunused-function]
> static int macb_resume(struct device *dev)
>
> when CONFIG_PM=y, CONFIG_PM_SLEEP=n are used.
>
> Signed-off-by: Michal Simek <michal.simek@...inx.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists