tty: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Jiri Slaby <jirislaby@gmail.com> Cc: Alan Cox <alan@linux.intel.com> Cc: Lucas Tavares <lucaskt@linux.vnet.ibm.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Peter Korsgaard <jacmet@sunsite.dk> Cc: Tony Prisk <linux@prisktech.co.nz> Acked-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

zatwierdzone przez
Greg Kroah-Hartman

rodzic
2d47b71602
commit
9671f09921
@@ -621,7 +621,7 @@ static u8 sc26xx_flags2mask(unsigned int flags, unsigned int bitpos)
|
||||
return bit ? (1 << (bit - 1)) : 0;
|
||||
}
|
||||
|
||||
static void __devinit sc26xx_init_masks(struct uart_sc26xx_port *up,
|
||||
static void sc26xx_init_masks(struct uart_sc26xx_port *up,
|
||||
int line, unsigned int data)
|
||||
{
|
||||
up->dtr_mask[line] = sc26xx_flags2mask(data, 0);
|
||||
@@ -632,7 +632,7 @@ static void __devinit sc26xx_init_masks(struct uart_sc26xx_port *up,
|
||||
up->ri_mask[line] = sc26xx_flags2mask(data, 20);
|
||||
}
|
||||
|
||||
static int __devinit sc26xx_probe(struct platform_device *dev)
|
||||
static int sc26xx_probe(struct platform_device *dev)
|
||||
{
|
||||
struct resource *res;
|
||||
struct uart_sc26xx_port *up;
|
||||
|
Reference in New Issue
Block a user