aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShow Liu <show.liu@linaro.org>2014-01-02 11:25:34 +0800
committerShow Liu <show.liu@linaro.org>2014-04-28 11:37:16 +0800
commitfb78243c7c843f6b08b272d0ed42bd16add85bfa (patch)
treea56849a2799911a580f54bcb113cea82301e70c7
parent62e4c9d6cd97a1d9fcd748118d34d3fc55ad4b6c (diff)
downloadlinaro-lsk-fb78243c7c843f6b08b272d0ed42bd16add85bfa.tar.gz
fixed for compatible with other linux disttribution
-rwxr-xr-xdrivers/gpu/arm/t6xx/kbase/src/linux/mali_kbase_core_linux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/arm/t6xx/kbase/src/linux/mali_kbase_core_linux.c b/drivers/gpu/arm/t6xx/kbase/src/linux/mali_kbase_core_linux.c
index ed3da683a87..0bdaefc6220 100755
--- a/drivers/gpu/arm/t6xx/kbase/src/linux/mali_kbase_core_linux.c
+++ b/drivers/gpu/arm/t6xx/kbase/src/linux/mali_kbase_core_linux.c
@@ -2468,7 +2468,7 @@ static int kbase_platform_device_probe(struct platform_device *pdev)
mali_error mali_err;
#endif /* CONFIG_MALI_NO_MALI */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) && CONFIG_CHROMEOS
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) //&& CONFIG_CHROMEOS
kbase_platform_config *config;
int attribute_count;
struct resource resources[PLATFORM_CONFIG_RESOURCE_COUNT];
@@ -2774,7 +2774,7 @@ static const struct dev_pm_ops kbase_pm_ops = {
#endif /* CONFIG_PM_RUNTIME */
};
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) && CONFIG_CHROMEOS
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) //&& CONFIG_CHROMEOS
static const struct of_device_id mali_of_match[] = {
{
.compatible = "arm,mali",
@@ -2791,7 +2791,7 @@ static struct platform_driver kbase_platform_driver = {
.name = kbase_drv_name,
.owner = THIS_MODULE,
.pm = &kbase_pm_ops,
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) && CONFIG_CHROMEOS
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) //&& CONFIG_CHROMEOS
.of_match_table = mali_of_match,
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) && CONFIG_CHROMEOS */
},
@@ -2805,7 +2805,7 @@ static int __init kbase_driver_init(void)
{
int err;
#ifdef CONFIG_MALI_PLATFORM_FAKE
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0)) || !CONFIG_CHROMEOS
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0)) //|| !CONFIG_CHROMEOS
kbase_platform_config *config;
int attribute_count;
struct resource resources[PLATFORM_CONFIG_RESOURCE_COUNT];