// SPDX-License-Identifier: GPL-2.0 #include #include struct pid_namespace *rust_helper_get_pid_ns(struct pid_namespace *ns) { return get_pid_ns(ns); } void rust_helper_put_pid_ns(struct pid_namespace *ns) { put_pid_ns(ns); } /* Get a reference on a task's pid namespace. */ struct pid_namespace *rust_helper_task_get_pid_ns(struct task_struct *task) { struct pid_namespace *pid_ns; guard(rcu)(); pid_ns = task_active_pid_ns(task); if (pid_ns) get_pid_ns(pid_ns); return pid_ns; } > index : linux-cubox.git
Solid-run Cubox Linux kernel tree mainline additions *UNSTABLE*Russell King
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schallenberg <Andreas.Schallenberg@3alitytechnica.com>2012-05-09 09:46:17 +0200
committerGrant Likely <grant.likely@secretlab.ca>2012-05-18 16:48:34 -0600
commitae79c19049b75af476adcbcfda6fc29bd93fc6f8 (patch)
tree8fef28f94ddf49b8c0679ec7de0ae9680b0fb90b /drivers/media
parent453007cf472a2b4c1034e850c3004ee9027005f6 (diff)
Add support for TCA6424A
This patch extends the PCA953x driver to support TI's TCA6424A 24 bit I2C I/O expander. The patch is based on code by Michele Bevilacqua. Changes in v2: - Compare ngpio against 24 in both places, not >16 - Larger datatype now u32 instead of uint. Bit fields not used for struct members since their address is taken. - Be precise: TCA6424A (untested for older TCA6424) Signed-off-by: Andreas Schallenberg<Andreas.Schallenberg@3alitytechnica.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions