~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/net/wireless/b43/sysfs.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
 
141
141
int b43_sysfs_register(struct b43_wldev *wldev)
142
142
{
143
 
        struct device *dev = wldev->dev->dev;
 
143
        struct device *dev = wldev->sdev->dev;
144
144
 
145
145
        B43_WARN_ON(b43_status(wldev) != B43_STAT_INITIALIZED);
146
146
 
149
149
 
150
150
void b43_sysfs_unregister(struct b43_wldev *wldev)
151
151
{
152
 
        struct device *dev = wldev->dev->dev;
 
152
        struct device *dev = wldev->sdev->dev;
153
153
 
154
154
        device_remove_file(dev, &dev_attr_interference);
155
155
}