serial: sc16is7xx: depend on I2C
PATCH 1/2 serial: sc16is7xx: depend on I2C
From: Jon Ringle <[email protected]>
--- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/tty/serial/Kconfig +1 -0
@@ -1180,6 +1180,7 @@ config SERIAL_SCCNXP_CONSOLE config SERIAL_SC16IS7XX tristate "SC16IS7xx serial support" + depends on I2C select SERIAL_CORE select REGMAP_I2C if I2C help
Signature · 1 line
1.8.5.4
PATCH 2/2 serial: sc16is7xx: fix implicit decl of func copy_{to,from}_user
From: Jon Ringle <[email protected]>
Fix by including linux/uaccess.h:
drivers/tty/serial/sc16is7xx.c: In function 'sc16is7xx_ioctl':
Quoted 2 lines
Quoted 2 lines
drivers/tty/serial/sc16is7xx.c:861:3: error: implicit declaration of function 'copy_from_user' [-Werror=implicit-function-declaration]drivers/tty/serial/sc16is7xx.c:867:3: error: implicit declaration of function 'copy_to_user' [-Werror=implicit-function-declaration]
--- drivers/tty/serial/sc16is7xx.c | 1 + 1 file changed, 1 insertion(+)
drivers/tty/serial/sc16is7xx.c +1 -0
@@ -25,6 +25,7 @@#include <linux/serial.h> #include <linux/tty.h> #include <linux/tty_flip.h> +#include <linux/uaccess.h> #define SC16IS7XX_NAME "sc16is7xx"
Signature · 1 line
1.8.5.4
Greg KH
maintainerQuoted 21 lines · On Fri, Apr 25, 2014 at 03:53:09PM -0400, [email protected] wrote:
From: Jon Ringle <[email protected]>
Signed-off-by Jon Ringle <[email protected]>--- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/tty/serial/Kconfig +1
-0@@ -1180,6 +1180,7 @@ config SERIAL_SCCNXP_CONSOLE config SERIAL_SC16IS7XX tristate "SC16IS7xx serial support" + depends on I2C select SERIAL_CORE select REGMAP_I2C if I2C helpSignature · 1 line
1.8.5.4
Better, but I still have the build warnings :(
Fri, 25 Apr 2014 13:23:15 -0700 от Greg KH <[email protected]>:
Quoted 14 lines · On Fri, Apr 25, 2014 at 03:53:09PM -0400, [email protected] wrote:
Quoted 13 lines
From: Jon Ringle <[email protected]>
Signed-off-by Jon Ringle <[email protected]>--- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/tty/serial/Kconfig +0
-0@@ -1180,6 +1180,7 @@ config SERIAL_SCCNXP_CONSOLE
Quoted 10 lines
Quoted 8 lines
drivers/tty/serial/Kconfig +1
-0config SERIAL_SC16IS7XX tristate "SC16IS7xx serial support" + depends on I2C select SERIAL_CORE select REGMAP_I2C if I2C helpSignature · 1 line
1.8.5.4Better, but I still have the build warnings :(
I hope not same as before?
---
Greg KH
maintainerQuoted 26 lines · Alexander Shiyan
Fri, 25 Apr 2014 13:23:15 -0700 от Greg KH <[email protected]>:
Quoted 14 lines · On Fri, Apr 25, 2014 at 03:53:09PM -0400, [email protected] wrote:
Quoted 13 lines
From: Jon Ringle <[email protected]>
Signed-off-by Jon Ringle <[email protected]>--- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/tty/serial/Kconfig +0
-0@@ -1180,6 +1180,7 @@ config SERIAL_SCCNXP_CONSOLEQuoted 10 lines
Quoted 8 lines
drivers/tty/serial/Kconfig +1
-0config SERIAL_SC16IS7XX tristate "SC16IS7xx serial support" + depends on I2C select SERIAL_CORE select REGMAP_I2C if I2C helpSignature · 1 line
1.8.5.4Better, but I still have the build warnings :(
Quoted 1 line
I hope not same as before?
Exactly the same.
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Fri, 25 Apr 2014 13:35:28 -0700 от Greg KH <[email protected]>:
Quoted 27 lines · Alexander Shiyan
Quoted 26 lines
Fri, 25 Apr 2014 13:23:15 -0700 от Greg KH <[email protected]>:
Quoted 24 lines · On Fri, Apr 25, 2014 at 03:53:09PM -0400, [email protected] wrote:
Quoted 21 lines
From: Jon Ringle <[email protected]>
Signed-off-by Jon Ringle <[email protected]>--- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/tty/serial/Kconfig +1
-0@@ -1180,6 +1180,7 @@ config SERIAL_SCCNXP_CONSOLE config SERIAL_SC16IS7XX tristate "SC16IS7xx serial support" + depends on I2C select SERIAL_CORE select REGMAP_I2C if I2C helpSignature · 1 line
1.8.5.4Better, but I still have the build warnings :(
Quoted 3 lines
Quoted 1 line
I hope not same as before?
Exactly the same.
Hmm...
In the source:
#ifdef CONFIG_REGMAP_I2C
Should be of course #ifdef CONFIG_I2C
But this should not provide such warnings...
---
Quoted 30 lines · Alexander Shiyan
Fri, 25 Apr 2014 13:35:28 -0700 от Greg KH <[email protected]>:
Quoted 29 lines · Alexander Shiyan
Quoted 27 lines
Fri, 25 Apr 2014 13:23:15 -0700 от Greg KH <[email protected]>:
Quoted 14 lines · On Fri, Apr 25, 2014 at 03:53:09PM -0400, [email protected] wrote:
Quoted 13 lines
From: Jon Ringle <[email protected]>
Signed-off-by Jon Ringle <[email protected]>--- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/tty/serial/Kconfig +0
-0@@ -1180,6 +1180,7 @@ config SERIAL_SCCNXP_CONSOLEQuoted 10 lines
Quoted 8 lines
drivers/tty/serial/Kconfig +1
-0config SERIAL_SC16IS7XX tristate "SC16IS7xx serial support" + depends on I2C select SERIAL_CORE select REGMAP_I2C if I2C helpSignature · 1 line
1.8.5.4Better, but I still have the build warnings :(
I hope not same as before?
Quoted 8 lines
Quoted 1 line
Exactly the same.
Hmm...
In the source:
#ifdefCONFIG_REGMAP_I2C
Should be of course #ifdefCONFIG_I2C
But this should not provide such warnings...
Can I see the warnings and .config file that causes them?
Signature · 1 line
~Randy