2 * platform_vlv2_plat_clk.c - VLV2 platform clock driver
3 * Copyright (C) 2013 Intel Corporation
5 * Author: Asutosh Pathak <asutosh.pathak@intel.com>
6 * Author: Chandra Sekhar Anagani <chandra.sekhar.anagani@intel.com>
7 * Author: Sergio Aguirre <sergio.a.aguirre.rodriguez@intel.com>
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; version 2 of the License.
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
20 #include <linux/device.h>
21 #include <linux/err.h>
22 #include <linux/module.h>
23 #include <linux/platform_device.h>
24 #include <linux/printk.h>
26 static int __init vlv2_plat_clk_init(void)
28 struct platform_device *pdev;
30 pdev = platform_device_register_simple("vlv2_plat_clk", -1, NULL, 0);
32 pr_err("platform_vlv2_plat_clk:register failed: %ld\n",
40 device_initcall(vlv2_plat_clk_init);