Skip to contentSkip to conversation

Staging: bcm: make major and minor signed

PATCH New Dan Carpenter 1 participant 1 message Oct 8, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: bcm: make major and minor signed

We assume that major is signed in register_control_device_interface().

drivers/staging/bcm/Adapter.h +2 -2
index 742ddeb..748460e 100644
@@ -484,8 +484,8 @@ struct _MINI_ADAPTER
 	BOOLEAN			    AutoSyncup;
 
 	struct net_device	*dev;
-	UINT				major;
-	UINT				minor;
+	int				major;
+	int				minor;
 	wait_queue_head_t 	tx_packet_wait_queue;
 	wait_queue_head_t 	process_rx_cntrlpkt;
 	atomic_t			process_waiting;