On 4 February 2016 at 01:58, Timur Tabi timur@codeaurora.org wrote:
Fu Wei wrote:
I have posted GTDT support separately :https://lkml.org/lkml/2016/2/1/660
devicetree driver and GTDT driver both export sbsa gwdt info to "platform resource".
this driver get hardware info from platform resource.
I must be missing something. How does the driver probe? It only has an
maybe you miss a line of code for platform resource :
--------------------- static const struct platform_device_id sbsa_gwdt_pdev_match[] = { { .name = "sbsa-gwdt", }, {}, }; MODULE_DEVICE_TABLE(platform, sbsa_gwdt_pdev_match); ---------------------
entry for device tree:
.of_match_table = sbsa_gwdt_of_match,
Doesn't there need to be an ACPI match table to probe on an ACPI system?
No, we don't. And this have been tested.