Thread (34 messages) 34 messages, 6 authors, 2015-06-01

Re: [PATCH v3 6/6] ACPI: import watchdog info of GTDT into platform device

From: Timur Tabi <hidden>
Date: 2015-05-26 16:35:29
Also in: linux-watchdog, lkml

On 05/26/2015 03:28 AM, Hanjun Guo wrote:
quoted
      early_acpi_os_unmap_memory((char *)table, tbl_size);
  }
please add

#ifdef CONFIG_ARM_SBSA_WATCHDOG
(acpi gtdt code)
#endif
I don't agree with this.  The GTDT should be parsed even if there's no 
watchdog driver compiled for this kernel.  There are no other #ifdefs in 
this file.
quoted
+     * Add a platform device named "sbsa-gwdt" to match the platform
driver.
+     * "sbsa-gwdt": SBSA(Server Base System Architecture) Generic
Watchdog
+     * The platform driver can get device info below by matching this
name.
* The platform driver (drivers/watchdog/sbsa_gwdt.c) can get device info
below by matching this name.

Adding the file name which will help for review and maintain in my
opinion.
Except it will cause problems if the driver is renamed or moved.  I 
don't think this is a good idea, either (sorry!)

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help