Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aacf17ad authored by Breno Leitao's avatar Breno Leitao Committed by Linus Torvalds
Browse files

jsm: define init function as __devinit

parent 0326e6d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -52,7 +52,7 @@ int jsm_debug;
module_param(jsm_debug, int, 0);
module_param(jsm_debug, int, 0);
MODULE_PARM_DESC(jsm_debug, "Driver debugging level");
MODULE_PARM_DESC(jsm_debug, "Driver debugging level");


static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
static int __devinit jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
{
{
	int rc = 0;
	int rc = 0;
	struct jsm_board *brd;
	struct jsm_board *brd;
+2 −2
Original line number Original line Diff line number Diff line
@@ -367,7 +367,7 @@ static struct uart_ops jsm_ops = {
 * Init the tty subsystem.  Called once per board after board has been
 * Init the tty subsystem.  Called once per board after board has been
 * downloaded and init'ed.
 * downloaded and init'ed.
 */
 */
int jsm_tty_init(struct jsm_board *brd)
int __devinit jsm_tty_init(struct jsm_board *brd)
{
{
	int i;
	int i;
	void __iomem *vaddr;
	void __iomem *vaddr;
@@ -431,7 +431,7 @@ int jsm_tty_init(struct jsm_board *brd)
	return 0;
	return 0;
}
}


int jsm_uart_port_init(struct jsm_board *brd)
int __devinit jsm_uart_port_init(struct jsm_board *brd)
{
{
	int i;
	int i;
	struct jsm_channel *ch;
	struct jsm_channel *ch;