hwmon: (s3c) Initialize sysfs attributes
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / mmc / sdhci-pltfm.h
blob548d59d404cb6ad9878e0bb44f2722dae3abc7d5
1 /*
2 * Platform data declarations for the sdhci-pltfm driver.
4 * Copyright (c) 2010 MontaVista Software, LLC.
6 * Author: Anton Vorontsov <avorontsov@ru.mvista.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or (at
11 * your option) any later version.
14 #ifndef _SDHCI_PLTFM_H
15 #define _SDHCI_PLTFM_H
17 struct sdhci_ops;
18 struct sdhci_host;
20 /**
21 * struct sdhci_pltfm_data - SDHCI platform-specific information & hooks
22 * @ops: optional pointer to the platform-provided SDHCI ops
23 * @quirks: optional SDHCI quirks
24 * @init: optional hook that is called during device probe, before the
25 * driver tries to access any SDHCI registers
26 * @exit: optional hook that is called during device removal
28 struct sdhci_pltfm_data {
29 struct sdhci_ops *ops;
30 unsigned int quirks;
31 int (*init)(struct sdhci_host *host, struct sdhci_pltfm_data *pdata);
32 void (*exit)(struct sdhci_host *host);
35 #endif /* _SDHCI_PLTFM_H */