]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
input: cfboost: Export symbols
authorArto Merilainen <amerilainen@nvidia.com>
Thu, 27 Mar 2014 06:40:56 +0000 (08:40 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 11 Apr 2014 06:12:18 +0000 (23:12 -0700)
The GPU driver needs to register itself to the cfboost framework
despite it can be compiled as a module. This patch adds necessary
exports to the cfboost driver.

Bug 1476801

Change-Id: Ia0be866eeb13aa3d561bcc88dc24bcda76c48b51
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/387608
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/input/input-cfboost.c

index a8de03f1c15f18ac2d70da13dc095dfc4ee4ed1b..024b5216c6aa99a6c50feb7b8c95f3ceba969294 100644 (file)
@@ -1,21 +1,15 @@
 /*
  * drivers/input/input-cfboost.c
  *
- * Copyright (c) 2012-2013, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2012-2014, 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 as published by
- * the Free Software Foundation; version 2 of the License.
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
+ * This program is distributed in the hope it will be useful, but WITHOUT
  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- *
  */
 
 #include <linux/slab.h>
@@ -93,6 +87,7 @@ int cfb_add_device(struct device *dev)
 
        return 0;
 }
+EXPORT_SYMBOL(cfb_add_device);
 
 void cfb_remove_device(struct device *dev)
 {
@@ -105,6 +100,7 @@ void cfb_remove_device(struct device *dev)
 
        mutex_unlock(&gpu_device_lock);
 }
+EXPORT_SYMBOL(cfb_remove_device);
 
 static void cfb_boost(struct kthread_work *w)
 {