From: Jiri Slaby Date: Tue, 14 Aug 2012 08:23:08 +0000 (+0200) Subject: TTY: synclink_cs, fix build X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33ba827460cdab644e907fc0c740dc7fde56c17;p=pandora-kernel.git TTY: synclink_cs, fix build Commit "TTY: synclink_cs, use dynamic tty devices" added a call to tty_port_register_device with a proper device as the last argument. But it was not correct and it causes build failures: synclink_cs.c: In function ‘mgslpc_add_device’: synclink_cs.c:2735:16: error: request for member ‘dev’ in something not a structure or union info->p_dev is a pointer, so act as that. I wonder why my build scripts did not notice. I have to re-check them. Signed-off-by: Jiri Slaby Reported-by: Fengguang Wu Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed