]> err.no Git - linux-2.6/commit
libata-acpi: adjust constness in ata_acpi_gtm/stm() parameters
authorTejun Heo <htejun@gmail.com>
Sat, 15 Dec 2007 06:04:57 +0000 (15:04 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 18 Dec 2007 01:33:12 +0000 (20:33 -0500)
commit0d02f0b22b678b9d6c8ac8cad7b4cfbbdf6fab18
tree27b5f5afcff7450f37432f30661e56337313c5e9
parent4e5200334e03e5620aa19d538300c13db270a063
libata-acpi: adjust constness in ata_acpi_gtm/stm() parameters

* No internal function uses const ata_port.  Drop const from @ap.

* Make ata_acpi_stm() copy @stm before using it and change @stm to
  const.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-acpi.c
include/linux/libata.h