From patchwork Fri Jun 11 14:44:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominik Brodowski X-Patchwork-Id: 105589 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5BEjtax008645 for ; Fri, 11 Jun 2010 14:45:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760321Ab0FKOpY (ORCPT ); Fri, 11 Jun 2010 10:45:24 -0400 Received: from isilmar-3.linta.de ([188.40.101.200]:33965 "EHLO linta.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756627Ab0FKOpY (ORCPT ); Fri, 11 Jun 2010 10:45:24 -0400 Received: (qmail 4309 invoked from network); 11 Jun 2010 14:45:21 -0000 Received: from unknown (HELO comet.dominikbrodowski.net) (brodo@217.237.166.206) by isilmar-3.linta.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 11 Jun 2010 14:45:21 -0000 Received: by comet.dominikbrodowski.net (Postfix, from userid 1000) id AB7AD80138; Fri, 11 Jun 2010 16:45:06 +0200 (CEST) From: Dominik Brodowski To: Cc: Dominik Brodowski , netdev@vger.kernel.org, linux-wireless@vger.kernel.org Subject: [PATCH 3/4] pcmcia: dev_node removal bugfix Date: Fri, 11 Jun 2010 16:44:55 +0200 Message-Id: <1276267496-9836-3-git-send-email-linux@dominikbrodowski.net> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <20100611144359.GA9572@comet.dominikbrodowski.net> References: <20100611144359.GA9572@comet.dominikbrodowski.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 11 Jun 2010 14:45:55 +0000 (UTC) diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index 7b6fe89..64e6a84 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c @@ -322,6 +322,7 @@ static int smc91c92_probe(struct pcmcia_device *link) return -ENOMEM; smc = netdev_priv(dev); smc->p_dev = link; + link->priv = dev; spin_lock_init(&smc->lock); link->io.NumPorts1 = 16;