~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to Documentation/driver-model/bus.txt

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
Definition
5
5
~~~~~~~~~~
6
 
 
7
 
struct bus_type {
8
 
        char                    * name;
9
 
 
10
 
        struct subsystem        subsys;
11
 
        struct kset             drivers;
12
 
        struct kset             devices;
13
 
 
14
 
        struct bus_attribute    * bus_attrs;
15
 
        struct device_attribute * dev_attrs;
16
 
        struct driver_attribute * drv_attrs;
17
 
 
18
 
        int             (*match)(struct device * dev, struct device_driver * drv);
19
 
        int             (*hotplug) (struct device *dev, char **envp, 
20
 
                                    int num_envp, char *buffer, int buffer_size);
21
 
        int             (*suspend)(struct device * dev, pm_message_t state);
22
 
        int             (*resume)(struct device * dev);
23
 
};
 
6
See the kerneldoc for the struct bus_type.
24
7
 
25
8
int bus_register(struct bus_type * bus);
26
9