These patches make the driver entry points static and tries to minimize the number of forward declarations. In the course of the cleanup a missing entry point in the interface structures of the agilent_82350b driver was discovered. Patch 1 fixes the missing entry point. Patch 2 makes the driver entry points static and moves the interface structures to the end of the drivers where needed. Dave Penkler (2): staging: gpib: Add missing interface entry point staging: gpib: Make static and reduce forward declarations .../gpib/agilent_82350b/agilent_82350b.c | 110 ++- .../gpib/agilent_82350b/agilent_82350b.h | 47 -- drivers/staging/gpib/cb7210/cb7210.c | 89 ++- drivers/staging/gpib/cb7210/cb7210.h | 45 -- drivers/staging/gpib/cec/cec.h | 29 - drivers/staging/gpib/cec/cec_gpib.c | 51 +- drivers/staging/gpib/hp_82335/hp82335.c | 52 +- drivers/staging/gpib/hp_82335/hp82335.h | 30 - drivers/staging/gpib/hp_82341/hp_82341.c | 71 +- drivers/staging/gpib/hp_82341/hp_82341.h | 40 - drivers/staging/gpib/pc2/pc2_gpib.c | 247 +++--- drivers/staging/gpib/tnt4882/tnt4882_gpib.c | 718 ++++++++---------- 12 files changed, 638 insertions(+), 891 deletions(-) -- 2.47.1