All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Prakash, Prashanth" <pprakash@codeaurora.org>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: linux-pm@vger.kernel.org, Hoan Tran <hotran@apm.com>,
	Christopher Covington <cov@codeaurora.org>,
	Al Stone <ahs3@redhat.com>
Subject: Re: [PATCH] cpufreq/CPPC: Add MODULE_DEVICE_TABLE for cppc_cpufreq driver
Date: Mon, 14 Nov 2016 14:16:15 -0700	[thread overview]
Message-ID: <9ed1a4bc-0e93-71e4-2224-a939f12ad08b@codeaurora.org> (raw)
In-Reply-To: <3532123.n0qt8sN7td@vostro.rjw.lan>


On 11/13/2016 5:21 PM, Rafael J. Wysocki wrote:
> On Friday, October 14, 2016 12:00:23 PM Prashanth Prakash wrote:
>> MODULE_DEVICE_TABLE is added so that CPPC cpufreq module can be
>> automatically loaded when we have a acpi processor device with
>> "ACPI0007" hid.
>>
>> Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org>
>> ---
>>  drivers/cpufreq/cppc_cpufreq.c | 7 +++++++
>>  1 file changed, 7 insertions(+)
>>
>> diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c
>> index 4852d9e..e82bb3c 100644
>> --- a/drivers/cpufreq/cppc_cpufreq.c
>> +++ b/drivers/cpufreq/cppc_cpufreq.c
>> @@ -247,3 +247,10 @@ MODULE_DESCRIPTION("CPUFreq driver based on the ACPI CPPC v5.0+ spec");
>>  MODULE_LICENSE("GPL");
>>  
>>  late_initcall(cppc_cpufreq_init);
>> +
>> +static const struct acpi_device_id cppc_acpi_ids[] = {
>> +	{ACPI_PROCESSOR_DEVICE_HID, },
>> +	{}
>> +};
>> +
>> +MODULE_DEVICE_TABLE(acpi, cppc_acpi_ids);
> Applied.
Thanks Rafael!

      reply	other threads:[~2016-11-14 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-14 18:00 [PATCH] cpufreq/CPPC: Add MODULE_DEVICE_TABLE for cppc_cpufreq driver Prashanth Prakash
2016-11-14  0:21 ` Rafael J. Wysocki
2016-11-14 21:16   ` Prakash, Prashanth [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9ed1a4bc-0e93-71e4-2224-a939f12ad08b@codeaurora.org \
    --to=pprakash@codeaurora.org \
    --cc=ahs3@redhat.com \
    --cc=cov@codeaurora.org \
    --cc=hotran@apm.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.