lkml.org 
[lkml]   [2012]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] RFC: Xen pad logic
On Mon, Mar 26, 2012 at 07:29:09AM +0000, Liu, Jinsong wrote:
> Konrad Rzeszutek Wilk wrote:
> >> +static struct acpi_driver xen_acpi_pad_driver = {
> >> + .name = "processor_aggregator",
> >> + .class = ACPI_PROCESSOR_AGGREGATOR_CLASS,
> >> + .ids = xen_pad_device_ids,
> >> + .ops = {
> >> + .add = xen_acpi_pad_add,
> >> + .remove = xen_acpi_pad_remove,
> >> + },
> >> +};
> >> +
> >> +static int __init xen_acpi_pad_init(void)
> >> +{
> >> + return acpi_bus_register_driver(&xen_acpi_pad_driver);
> >
> > If the acpi_bus_register_driver function could work with multiple
> > acpi_drivers that define the same class (and have some priority) would
> > this be easier?
>
> Not quite clear your point, could you elaborate more?

I was thinking it could do multiple registration of a driver servicing the
same PNPxxx.


\
 
 \ /
  Last update: 2012-03-27 16:47    [W:0.047 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site