[PATCH 3/3] staging: ks7010: Replace header files

2016-10-08 Thread Sabitha George
This patch replaces inclusion of asm/atomic.h with linux/atomic.h and asm/io.h with linux/io.h to fix checkpatch warning in ks_wlan.h Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_wlan.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 2/3] staging: ks7010: use netdev_* instead of printk()

2016-10-08 Thread Sabitha George
Fixes checkpatch warning on printk usage in ks_hostif.c Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_hostif.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c

[PATCH 1/3] staging:ks7010: use __packed instead of __attribute__((packed))

2016-10-08 Thread Sabitha George
This patch fixes the below checkpatch warning in ks_hostif.c: __packed is preferred over __attribute__((packed)) Signed-off-by: Sabitha George --- drivers/staging/ks7010/ks_hostif.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] staging: comedi: porting NI_GPCT constants from comedi.org module

2016-10-08 Thread Spencer E. Olson
Information pertaining to the NI_GPCT_ARM* registers were added to the comedi.org version of the comedi kernel. This adds this information to the staging-tree version of the comedi kernel. Relevant comments are also copied over. Signed-off-by: Spencer E. Olson ---

[PATCH] staging: comedi: make constants slightly more consistent

2016-10-08 Thread Spencer E. Olson
This makes INSN_CONFIG_DIO_{INPUT,OUTPUT,OPENDRAIN} simply be copies of the already-existing constants COMEDI_INPUT, COMEDI_OUTPUT, and COMEDI_OPENDRAIN. This change also ensures that if a user happens to use, for example, COMEDI_INPUT in place of where INSN_CONFIG_DIO_INPUT, the result will

[PATCH] staging: comedi: ni_mio_common: split out ao arming from ni_ao_inttrig

2016-10-08 Thread Spencer E. Olson
AO device arming was previously done as a part of ni_ao_inttrig which is called as a result of the user calling comedi_internal_trigger. For start_src == TRIG_EXT, this does not make very much sense since external triggers should not conceptually need to be software triggered also. This patch

[PATCH] staging: dgnc: make find_board_by_major static

2016-10-08 Thread Benoit Hiller
Fixes the following sparse warning: drivers/staging/dgnc/dgnc_tty.c:933:19: warning: symbol 'find_board_by_major' was not declared. Should it be static? Signed-off-by: Benoit Hiller --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [RFC 0/2] Juniper DT based connector driver

2016-10-08 Thread Pantelis Antoniou
Hi Rob, > On Oct 8, 2016, at 19:10 , Rob Herring wrote: > > On Fri, Oct 7, 2016 at 10:16 AM, Pantelis Antoniou > wrote: >> Introduce a Juniper PTX router series DT overlay based >> connector driver. >> >> This is submitted as an RFC since

Re: [RFC 0/2] Juniper DT based connector driver

2016-10-08 Thread Rob Herring
On Fri, Oct 7, 2016 at 10:16 AM, Pantelis Antoniou wrote: > Introduce a Juniper PTX router series DT overlay based > connector driver. > > This is submitted as an RFC since some OF infrastructure > patches (like changeset helpers etc) are not yet mainlined.

Re: [RFC 2/2] staging: jnx-connector: add device tree binding

2016-10-08 Thread Rob Herring
On Fri, Oct 7, 2016 at 10:16 AM, Pantelis Antoniou wrote: > From: Guenter Roeck > > Add documentation for the Juniper connector driver. > > Signed-off-by: Alon Ronen > Signed-off-by: Guenter Roeck >