taskstats: don't allow duplicate entries in listener mode
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / ahci_platform.h
blobf7dd576dd5a41fcb6818e666689e1610c2b3ac56
1 /*
2 * AHCI SATA platform driver
4 * Copyright 2004-2005 Red Hat, Inc.
5 * Jeff Garzik <jgarzik@pobox.com>
6 * Copyright 2010 MontaVista Software, LLC.
7 * Anton Vorontsov <avorontsov@ru.mvista.com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2, or (at your option)
12 * any later version.
15 #ifndef _AHCI_PLATFORM_H
16 #define _AHCI_PLATFORM_H
18 struct device;
19 struct ata_port_info;
21 struct ahci_platform_data {
22 int (*init)(struct device *dev);
23 void (*exit)(struct device *dev);
24 const struct ata_port_info *ata_port_info;
25 unsigned int force_port_map;
26 unsigned int mask_port_map;
29 #endif /* _AHCI_PLATFORM_H */