summaryrefslogtreecommitdiffstats
path: root/security/selinux/include/objsec.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-02-24 20:25:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 18:17:36 +0100
commitafd483bd0f6808d7a8891349b8a141d7abd0509d (patch)
tree9d2bef7e7ae4be80c521dda1e286bf702677d9ea /security/selinux/include/objsec.h
parentserial: 8250: Encapsulate port i/o method init (diff)
downloadlinux-afd483bd0f6808d7a8891349b8a141d7abd0509d.tar.xz
linux-afd483bd0f6808d7a8891349b8a141d7abd0509d.zip
serial: 8250: Initialize fixed type fields when setting defaults
Prepare for 8250 split; move fixed type initialization into serial8250_set_defaults(). This enables uart_config[] array to remain file scope in base port operations after the split. NB: the call to serial8250_init_fixed_type_port() from serial8250_register_ports() was added by commit b5d228cc4f85 ("serial: copy UART properties of UPF_FIXED_TYPE ports provisioned using early_serial_setup") specifically to support ports initialized by early_serial_setup(). Since serial8250_set_defaults() is called from early_serial_setup(), fixed type initialization is now already handled there before serial8250_register_ports() is called. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/selinux/include/objsec.h')
0 files changed, 0 insertions, 0 deletions