leds: Convert from struct class_device to struct device
[sfrench/cifs-2.6.git] / arch / sh / boards / unknown / setup.c
index 02e84f03f45c09bae860c94ff73b96485be5dc97..bee4612de59b475a91148dbfe2e98a689d337995 100644 (file)
@@ -6,28 +6,16 @@
  * May be copied or modified under the terms of the GNU General Public
  * License.  See linux/COPYING for more information.
  *
- * Setup code for an unknown machine (internal peripherials only)
+ * Setup code for an unknown machine (internal peripherals only)
  *
  * This is the simplest of all boards, and serves only as a quick and dirty
  * method to start debugging a new board during bring-up until proper board
  * setup code is written.
  */
-#include <linux/config.h>
 #include <linux/init.h>
 #include <asm/machvec.h>
-#include <asm/irq.h>
 
 struct sh_machine_vector mv_unknown __initmv = {
-       .mv_nr_irqs             = NR_IRQS,
+       .mv_name                = "Unknown",
 };
 ALIAS_MV(unknown)
-
-const char *get_system_type(void)
-{
-       return "Unknown";
-}
-
-void __init platform_setup(void)
-{
-}
-