]> err.no Git - linux-2.6/commit
smc91x: pass along private data V2
authorMagnus Damm <magnus.damm@gmail.com>
Fri, 22 Feb 2008 10:55:05 +0000 (19:55 +0900)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 11:49:27 +0000 (07:49 -0400)
commitcfdfa86536d2fbc8102780ec15faea185e957d3d
tree4ec492270e502d912b6cbaebea91d6d2df20f7e8
parentcf374a855363ea2ad06a1c08fc513024295334cc
smc91x: pass along private data V2

Pass a private data pointer to macros and functions. This makes it easy
to later on make run time decisions. This patch does not change any logic.
These changes should be optimized away during compilation.

V2 changes the macro argument name from "priv" to "lp".

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/smc91x.c
drivers/net/smc91x.h