Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge master.kernel.org:/home/rmk/linux-2.6-serial

+9 -6
+1 -1
drivers/serial/8250.c
··· 102 102 #define SERIAL_PORT_DFNS 103 103 #endif 104 104 105 - static struct old_serial_port old_serial_port[] = { 105 + static const struct old_serial_port old_serial_port[] = { 106 106 SERIAL_PORT_DFNS /* defined in asm/serial.h */ 107 107 }; 108 108
+1 -1
drivers/serial/8250_pci.c
··· 468 468 0x9167, 0x9168, 0xA066, 0xA167, 0xA168, 0 469 469 }; 470 470 471 - static struct timedia_struct { 471 + static const struct timedia_struct { 472 472 int num; 473 473 unsigned short *ids; 474 474 } timedia_data[] = {
+1 -1
drivers/serial/serial_core.c
··· 1779 1779 unsigned int cflag; 1780 1780 }; 1781 1781 1782 - static struct baud_rates baud_rates[] = { 1782 + static const struct baud_rates baud_rates[] = { 1783 1783 { 921600, B921600 }, 1784 1784 { 460800, B460800 }, 1785 1785 { 230400, B230400 },
+3 -3
drivers/serial/serial_cs.c
··· 85 85 int multi; /* 1 = multifunction, > 1 = # ports */ 86 86 }; 87 87 88 - static struct multi_id multi_id[] = { 88 + static const struct multi_id multi_id[] = { 89 89 { MANFID_OMEGA, PRODID_OMEGA_QSP_100, 4 }, 90 90 { MANFID_QUATECH, PRODID_QUATECH_DUAL_RS232, 2 }, 91 91 { MANFID_QUATECH, PRODID_QUATECH_DUAL_RS232_D1, 2 }, ··· 354 354 355 355 static int simple_config(dev_link_t *link) 356 356 { 357 - static kio_addr_t base[5] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8, 0x0 }; 358 - static int size_table[2] = { 8, 16 }; 357 + static const kio_addr_t base[5] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8, 0x0 }; 358 + static const int size_table[2] = { 8, 16 }; 359 359 client_handle_t handle = link->handle; 360 360 struct serial_info *info = link->priv; 361 361 struct serial_cfg_mem *cfg_mem;
+3
include/linux/serial_core.h
··· 121 121 122 122 #define PORT_IP3106 70 123 123 124 + /* Hilscher netx */ 125 + #define PORT_NETX 71 126 + 124 127 #ifdef __KERNEL__ 125 128 126 129 #include <linux/config.h>