diff options
author | Ken Adams <kadams@nvidia.com> | 2011-09-21 19:12:01 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2012-03-23 17:31:49 -0700 |
commit | 4a277dd1930b3e9c9ea26a47707c26d8af5ddb72 (patch) | |
tree | 5f05c1da6fe84ca2b1f99f22deee7eb4552a3a1e /drivers/video/tegra/host/nvhost_intr.h | |
parent | 70fd39caf81262a9d18c0fabb6b6171057b4d863 (diff) |
video: tegra: host: fix checkpatch.pl issues
The only warnings left are one for
"./nvhost_cdma.c: 609: WARNING: consider using a completion"
and all "over 80 char line" warnings.
Change-Id: I5aa113dac1deb60570c326976baba96386b041ec
Reviewed-on: http://git-master/r/53842
Reviewed-by: Ken Adams <kadams@nvidia.com>
Tested-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Jeff Smith <jsmith@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Rebase-Id: R83200f349310910a04705d0f7a94d8163e0666fe
Diffstat (limited to 'drivers/video/tegra/host/nvhost_intr.h')
-rw-r--r-- | drivers/video/tegra/host/nvhost_intr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/tegra/host/nvhost_intr.h b/drivers/video/tegra/host/nvhost_intr.h index 150fd6c5694c..b9a32da009d1 100644 --- a/drivers/video/tegra/host/nvhost_intr.h +++ b/drivers/video/tegra/host/nvhost_intr.h @@ -25,6 +25,7 @@ #include <linux/kthread.h> #include <linux/semaphore.h> +#include <linux/interrupt.h> struct nvhost_channel; @@ -76,7 +77,7 @@ struct nvhost_intr { }; #define intr_to_dev(x) container_of(x, struct nvhost_master, intr) #define intr_op(intr) (intr_to_dev(intr)->op.intr) -#define intr_syncpt_to_intr(is) is->intr +#define intr_syncpt_to_intr(is) (is->intr) /** * Schedule an action to be taken when a sync point reaches the given threshold. @@ -105,4 +106,5 @@ void nvhost_intr_deinit(struct nvhost_intr *intr); void nvhost_intr_start(struct nvhost_intr *intr, u32 hz); void nvhost_intr_stop(struct nvhost_intr *intr); +irqreturn_t nvhost_syncpt_thresh_fn(int irq, void *dev_id); #endif |