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

« back to all changes in this revision

Viewing changes to drivers/pci/bus.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:
163
163
 
164
164
        bus->is_added = 1;
165
165
 
166
 
        retval = device_create_file(&bus->dev, &dev_attr_cpuaffinity);
167
 
        if (retval)
168
 
                return retval;
169
 
 
170
 
        retval = device_create_file(&bus->dev, &dev_attr_cpulistaffinity);
171
 
 
172
166
        /* Create legacy_io and legacy_mem files for this bus */
173
167
        pci_create_legacy_files(bus);
174
168