diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-09-20 03:22:17 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-04 15:19:12 +0200 |
commit | 3c5327e660bc840deb82030062c91e469528dd94 (patch) | |
tree | 31f150802925bf3f292ac90cdcb4ae5eb3ddd97a /Documentation | |
parent | c0620a4b50c46d98c08229db4bec6b4e4a68b16b (diff) | |
download | barebox-3c5327e660bc840deb82030062c91e469528dd94.tar.gz barebox-3c5327e660bc840deb82030062c91e469528dd94.tar.xz |
switch all platform_bus device/driver registering to platform_driver/device_register
now register_driver and register_device are for bus only usage.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/porting.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/porting.txt b/Documentation/porting.txt index ccfe598a74..a350e5e5fe 100644 --- a/Documentation/porting.txt +++ b/Documentation/porting.txt @@ -40,7 +40,7 @@ extra-y += barebox.lds static int scb9328_console_init(void) { - register_device(&scb9328_serial_device); + platform_device_register(&scb9328_serial_device); return 0; } |