|
@@ -670,14 +670,13 @@ static int device_dma_allocations(struct device *dev)
|
|
return count;
|
|
return count;
|
|
}
|
|
}
|
|
|
|
|
|
-static int dma_debug_device_change(struct notifier_block *nb,
|
|
|
|
- unsigned long action, void *data)
|
|
|
|
|
|
+static int dma_debug_device_change(struct notifier_block *nb, unsigned long action, void *data)
|
|
{
|
|
{
|
|
struct device *dev = data;
|
|
struct device *dev = data;
|
|
int count;
|
|
int count;
|
|
|
|
|
|
if (global_disable)
|
|
if (global_disable)
|
|
- return;
|
|
|
|
|
|
+ return 0;
|
|
|
|
|
|
switch (action) {
|
|
switch (action) {
|
|
case BUS_NOTIFY_UNBOUND_DRIVER:
|
|
case BUS_NOTIFY_UNBOUND_DRIVER:
|