return result;
}
+#if 0
/* ioctl operations for card */
/* NOTE: these are all DEBUGGING ONLY currently */
static int lanai_ioctl(struct atm_dev *atmdev, unsigned int cmd, void *arg)
{
-#if 0
int result = 0;
struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data;
switch(cmd) {
result = -ENOIOCTLCMD;
}
return result;
+}
#else /* !0 */
- (void) atmdev; (void) cmd; (void) arg; /* no compiler warnings */
- return -ENOIOCTLCMD;
+#define lanai_ioctl NULL
#endif /* 0 */
-}
static int lanai_send(struct atm_vcc *atmvcc, struct sk_buff *skb)
{