Skip to content

Commit 43e6482

Browse files
dpenklermehmetb0
authored andcommitted
staging: gpib: Add missing interface entry point
BugLink: https://bugs.launchpad.net/bugs/2107212 [ Upstream commit 2f54821 ] Declaring the driver entry points as static caused a warning that the serial_poll_status function of the agilent_82350b driver was unused. Add the entry point to the corresponding interface structure initializations where it was missing. Fixes: 09a4655 ("staging: gpib: Add HP/Agilent/Keysight 8235xx PCI GPIB driver") Signed-off-by: Dave Penkler <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Manuel Diewald <[email protected]> Signed-off-by: Timo Aaltonen <[email protected]>
1 parent 5564cc3 commit 43e6482

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/staging/gpib/agilent_82350b/agilent_82350b.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ static gpib_interface_t agilent_82350b_unaccel_interface = {
848848
.primary_address = agilent_82350b_primary_address,
849849
.secondary_address = agilent_82350b_secondary_address,
850850
.serial_poll_response = agilent_82350b_serial_poll_response,
851+
.serial_poll_status = agilent_82350b_serial_poll_status,
851852
.t1_delay = agilent_82350b_t1_delay,
852853
.return_to_local = agilent_82350b_return_to_local,
853854
};
@@ -875,6 +876,7 @@ static gpib_interface_t agilent_82350b_interface = {
875876
.primary_address = agilent_82350b_primary_address,
876877
.secondary_address = agilent_82350b_secondary_address,
877878
.serial_poll_response = agilent_82350b_serial_poll_response,
879+
.serial_poll_status = agilent_82350b_serial_poll_status,
878880
.t1_delay = agilent_82350b_t1_delay,
879881
.return_to_local = agilent_82350b_return_to_local,
880882
};

0 commit comments

Comments
 (0)