Bluetooth: Remove redundant reverse_base_uuid variable
[linux-2.6/btrfs-unstable.git] / drivers / soc / tegra / common.c
bloba71cb74f3674e3017a109544e7c1f0988c1f0eab
1 /*
2 * Copyright (C) 2014 NVIDIA CORPORATION. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #include <linux/of.h>
11 #include <soc/tegra/common.h>
13 static const struct of_device_id tegra_machine_match[] = {
14 { .compatible = "nvidia,tegra20", },
15 { .compatible = "nvidia,tegra30", },
16 { .compatible = "nvidia,tegra114", },
17 { .compatible = "nvidia,tegra124", },
18 { }
21 bool soc_is_tegra(void)
23 struct device_node *root;
25 root = of_find_node_by_path("/");
26 if (!root)
27 return false;
29 return of_match_node(tegra_machine_match, root) != NULL;