Staging: bcm: fix up network device reference counting
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Oct 2010 16:54:23 +0000 (09:54 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Oct 2010 16:54:23 +0000 (09:54 -0700)
The way network devices are reference counted does not include poking
around in the reference count itself.  This breaks when the reference
count is changed to be a different type.  Fix the driver to do the
proper function calls instead.

Cc: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found