Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1573681
| From | Andy Shevchenko <andy.shevchenko@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] asus-wireless: Use the correct HSWC parameter for each HID |
| Date | 2017-02-04 16:10 +0100 |
| Message-ID | <t7a8q-2cc-19@gated-at.bofh.it> (permalink) |
| References | <t3TQu-uN-15@gated-at.bofh.it> <t3TQu-uN-13@gated-at.bofh.it> <t4gN5-5TS-31@gated-at.bofh.it> <t62cX-5Vf-47@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Feb 1, 2017 at 2:20 PM, João Paulo Rechi Vita <jprvita@gmail.com> wrote:
> On 27 January 2017 at 10:26, Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
>> On Thu, Jan 26, 2017 at 5:00 PM, João Paulo Rechi Vita
>> <jprvita@gmail.com> wrote:
>>> +static const struct acpi_device_id device_ids[] = {
>>> + {"ATK4001", 0},
>>> + {"ATK4002", 0},
>>
>> ...and use it as a parameter here.
>>
>
> I'm not exactly sure how to do that, as driver_data is a
> kernel_ulong_t. Can you please elaborate a bit more?
{"ATK4001", (kernel_ulong_t)atk4001_id_params},
Similar for the other one.
--
With Best Regards,
Andy Shevchenko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 1/1] asus-wireless: Use the correct HSWC parameter for each HID João Paulo Rechi Vita <jprvita@gmail.com> - 2017-02-01 13:30 +0100
Re: [PATCH 1/1] asus-wireless: Use the correct HSWC parameter for each HID Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-02-04 16:10 +0100
Re: [PATCH 1/1] asus-wireless: Use the correct HSWC parameter for each HID João Paulo Rechi Vita <jprvita@gmail.com> - 2017-02-07 22:50 +0100
[PATCHv2] platform/x86: asus-wireless: Use per-HID HSWC parameters "João Paulo Rechi Vita" <jprvita@gmail.com> - 2017-02-07 23:00 +0100
Re: [PATCH 1/1] asus-wireless: Use the correct HSWC parameter for each HID Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-02-08 00:50 +0100
Re: [PATCH 1/1] asus-wireless: Use the correct HSWC parameter for each HID João Paulo Rechi Vita <jprvita@gmail.com> - 2017-02-08 18:10 +0100
csiph-web