aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ahci_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ahci_platform.h')
-rw-r--r--include/linux/ahci_platform.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/linux/ahci_platform.h b/include/linux/ahci_platform.h
new file mode 100644
index 000000000000..be3d9a77d6ed
--- /dev/null
+++ b/include/linux/ahci_platform.h
@@ -0,0 +1,31 @@
1/*
2 * AHCI SATA platform driver
3 *
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>
8 *
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.
13 */
14
15#ifndef _AHCI_PLATFORM_H
16#define _AHCI_PLATFORM_H
17
18#include <linux/compiler.h>
19
20struct device;
21struct ata_port_info;
22
23struct ahci_platform_data {
24 int (*init)(struct device *dev, void __iomem *addr);
25 void (*exit)(struct device *dev);
26 const struct ata_port_info *ata_port_info;
27 unsigned int force_port_map;
28 unsigned int mask_port_map;
29};
30
31#endif /* _AHCI_PLATFORM_H */