]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
clk: core: struct fops declaration needed
authorSandipan Patra <spatra@nvidia.com>
Wed, 28 Dec 2016 09:09:32 +0000 (14:39 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 28 Dec 2016 17:09:26 +0000 (09:09 -0800)
file_operation structure declaration is required by
driver/clk/clk.c under CONFIG_COMMON_CLK_FREQ_STATS_ACCOUNTING.

Bug 200162084

Change-Id: I36cb2061e81a771b1db486f5071658acd0ec958b
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-on: http://git-master/r/1277570
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
drivers/clk/clk.c

index 1588f6cf4a17ca5761806ba003d5857204590bda..681642f91056f45b1a5a9fab81b64d57a70aa02c 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com>
  * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
+ * Copyright (c) 2016 NVIDIA CORPORATION. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -23,6 +24,7 @@
 #include <linux/init.h>
 #include <linux/sched.h>
 #include <linux/clkdev.h>
+#include <linux/fs.h>
 #include "clk.h"
 
 static DEFINE_SPINLOCK(enable_lock);