浏览代码

[ARM] 3658/1: S3C244X: Change usb-gadget name to s3c2440-usbgadget

Patch from Ben Dooks

The S3C2440 and S3C2442 have an extended USB gadget
controller, so re-name the platform device to inform
the driver that it needs to change some parameters

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Ben Dooks 19 年之前
父节点
当前提交
b8ccca4a57
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/arm/mach-s3c2410/s3c244x.c

+ 1 - 0
arch/arm/mach-s3c2410/s3c244x.c

@@ -69,6 +69,7 @@ void __init s3c244x_map_io(struct map_desc *mach_desc, int size)
 
 	s3c_device_i2c.name  = "s3c2440-i2c";
 	s3c_device_nand.name = "s3c2440-nand";
+	s3c_device_usbgadget.name = "s3c2440-usbgadget";
 }
 
 void __init s3c244x_init_clocks(int xtal)