lkml.org 
[lkml]   [2004]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] parport: kill dead code and exports
On Sun, Oct 24, 2004 at 03:14:46PM +0200, Christoph Hellwig wrote:
> there's lots of exports in parport that aren't used by any drivers.
> Behind many of them there's actually dead code.

And here's the missing parport.h bits:

--- 1.18/include/linux/parport.h 2004-03-03 13:45:18 +01:00
+++ edited/include/linux/parport.h 2004-10-23 14:51:46 +02:00
@@ -466,7 +466,6 @@
int usec);

/* For architectural drivers */
-extern void parport_ieee1284_wakeup (struct parport *port);
extern size_t parport_ieee1284_write_compat (struct parport *,
const void *, size_t, int);
extern size_t parport_ieee1284_read_nibble (struct parport *,
@@ -500,20 +499,8 @@
extern void parport_close (struct pardevice *dev);
extern ssize_t parport_device_id (int devnum, char *buffer, size_t len);
extern int parport_device_num (int parport, int mux, int daisy);
-extern int parport_device_coords (int devnum, int *parport, int *mux,
- int *daisy);
extern void parport_daisy_deselect_all (struct parport *port);
extern int parport_daisy_select (struct parport *port, int daisy, int mode);
-
-/* For finding devices based on their device ID. Example usage:
- int devnum = -1;
- while ((devnum = parport_find_class (PARPORT_CLASS_DIGCAM, devnum)) != -1) {
- struct pardevice *dev = parport_open (devnum, ...);
- ...
- }
-*/
-extern int parport_find_device (const char *mfg, const char *mdl, int from);
-extern int parport_find_class (parport_device_class cls, int from);

/* Lowlevel drivers _can_ call this support function to handle irqs. */
static __inline__ void parport_generic_irq(int irq, struct parport *port,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.033 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site