Skip to content

Commit

Permalink
[PATCH] Correct xircom_cb use of CONFIG_NET_POLL_CONTROLLER
Browse files Browse the repository at this point in the history
xircom_cb.c does #if CONFIG_NET_POLL_CONTROLLER instead of #ifdef,
resulting in drivers/net/tulip/xircom_cb.c:120:5: warning:
"CONFIG_NET_POLL_CONTROLLER" is not defined.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Keith Owens authored and jgarzik committed Sep 14, 2005
1 parent 6b4d617 commit 3be034b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/tulip/xircom_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static int xircom_open(struct net_device *dev);
static int xircom_close(struct net_device *dev);
static void xircom_up(struct xircom_private *card);
static struct net_device_stats *xircom_get_stats(struct net_device *dev);
#if CONFIG_NET_POLL_CONTROLLER
#ifdef CONFIG_NET_POLL_CONTROLLER
static void xircom_poll_controller(struct net_device *dev);
#endif

Expand Down

0 comments on commit 3be034b

Please sign in to comment.