diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-03 14:54:56 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-03 14:54:56 -0400 |
commit | b72421d8aa39724474ec2bfb91e182001f1f25a7 (patch) | |
tree | d9f13d2e5641d9379c796898782756c50996bbf3 /include/linux/sh_pfc.h | |
parent | 3bccf534f98ddc4962665b68d99f752ea010aacc (diff) |
sh: pfc: support pinmux deregistration.
Presently the pinmux code is a one-way thing, but there's nothing
preventing an unregistration if no one has grabbed any of the pins.
This will permit us to save a bit of memory on systems that require pin
demux for certain peripherals in the case where registration of those
peripherals fails, or they are otherwise not attached to the system.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_pfc.h')
-rw-r--r-- | include/linux/sh_pfc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sh_pfc.h b/include/linux/sh_pfc.h index 07c08af9f8f6..30cae70874f4 100644 --- a/include/linux/sh_pfc.h +++ b/include/linux/sh_pfc.h | |||
@@ -92,5 +92,6 @@ struct pinmux_info { | |||
92 | }; | 92 | }; |
93 | 93 | ||
94 | int register_pinmux(struct pinmux_info *pip); | 94 | int register_pinmux(struct pinmux_info *pip); |
95 | int unregister_pinmux(struct pinmux_info *pip); | ||
95 | 96 | ||
96 | #endif /* __SH_PFC_H */ | 97 | #endif /* __SH_PFC_H */ |