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

« back to all changes in this revision

Viewing changes to drivers/xen/xenbus/xenbus_probe_frontend.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:
85
85
        __ATTR_NULL
86
86
};
87
87
 
 
88
static const struct dev_pm_ops xenbus_pm_ops = {
 
89
        .suspend        = xenbus_dev_suspend,
 
90
        .resume         = xenbus_dev_resume,
 
91
        .freeze         = xenbus_dev_suspend,
 
92
        .thaw           = xenbus_dev_cancel,
 
93
        .restore        = xenbus_dev_resume,
 
94
};
 
95
 
88
96
static struct xen_bus_type xenbus_frontend = {
89
97
        .root = "device",
90
98
        .levels = 2,            /* device/type/<id> */
100
108
                .shutdown       = xenbus_dev_shutdown,
101
109
                .dev_attrs      = xenbus_frontend_dev_attrs,
102
110
 
103
 
                .suspend        = xenbus_dev_suspend,
104
 
                .resume         = xenbus_dev_resume,
 
111
                .pm             = &xenbus_pm_ops,
105
112
        },
106
113
};
107
114