summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2009-12-15 11:03:28 -0800
committerGary King <gking@nvidia.com>2009-12-15 18:45:52 -0800
commitd5a745414e641b8cc839e0bff7b02a9e86020cc0 (patch)
treec52b5470aea3d2654a7cdf0f11097d4272c2254c /include
parent7da082134dbfd45d7b05165f1c07cf5127c739f3 (diff)
tegra: use sdio_platform_data from tegra_devices.h, not sdio_pdata
update sdhci driver to reflect correct typename Change-Id: I350196cdde9c52a8cac7e74d041a15a683f8bc1c
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_devices.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/include/linux/tegra_devices.h b/include/linux/tegra_devices.h
index 5ff4173e27c8..93d7324d2e37 100644
--- a/include/linux/tegra_devices.h
+++ b/include/linux/tegra_devices.h
@@ -23,6 +23,14 @@
#ifndef _LINUX_DEVICE_TEGRA_H
#define _LINUX_DEVICE_TEGRA_H
+#ifndef NV_DEBUG
+#if defined(CONFIG_MACH_TEGRA_GENERIC_DEBUG)
+#define NV_DEBUG 1
+#else
+#define NV_DEBUG 0
+#endif
+#endif
+
#include "nvcommon.h"
#include "nvrm_gpio.h"
#include "nvddk_usbphy.h"
@@ -54,9 +62,13 @@ struct tegra_i2c_platform_data {
/* Platfrom data for SPI bus driver */
struct tegra_spi_platform_data {
- NvU32 IoModuleID; // IO Module
- NvU32 Instance; // Instance
- NvU32 PinMuxConfig;
+ NvU32 IoModuleID;
+ NvU32 Instance;
+ NvU32 PinMuxConfig;
+};
+
+struct tegra_sdio_platform_data {
+ NvU32 StartOffset; /* start sector offset to MBR for the card */
};